Hi,
the following code snippet
public class matmul {
[...]
static type Array1D = Array[Double]{rank==1};
[...]
val v_loc: Array[Array1D]{rank==1};
val r_loc: Array[RemoteArray]{rank==1};
/**
* special constructor
*/
public def this(n:Int, axis:Int, Dprint: Boolean) {
[...]
v_loc = new Array[Array1D](Dv_tmp.region(),
(r:Point) => {(new Array[Double]((0..n-1),
( 0.0 as Double))) } );
r_loc = new Array[RemoteArray](Dv_tmp.region(),
(r:Point) => {(new RemoteArray(v_loc(r))) } );
}
[...]
}
produces this compiler error message.
/home/cp/xample/MatMul/mm_X10/src/matmul.x10:92-93:
Constructor this(reg: x10.array.Region, init:
(a1:x10.array.Point{self.rank==reg.rank})=> x10.array.RemoteArray):
x10.array.Array[x10.array.RemoteArray]{self.region==reg}
cannot be invoked with arguments
(x10.array.Region{self==Dv_tmp.region}, <anonymous class>).
Why ?
--
Mit freundlichen Grüßen / Kind regards
Dr. Christoph Pospiech
High Performance & Parallel Computing
Phone: +49-351 86269826
Mobile: +49-171-765 5871
E-Mail: [email protected]
-------------------------------------
IBM Deutschland GmbH
Vorsitzender des Aufsichtsrats: Erich Clementi
Geschäftsführung: Martin Jetter (Vorsitzender),
Reinhard Reschke, Dieter Scholz,
Gregor Pillen, Michael Diemer, Martina Koederitz
Sitz der Gesellschaft: Ehningen / Registergericht: Amtsgericht Stuttgart, HRB
14562 WEEE-Reg.-Nr. DE 99369940
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
X10-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/x10-users