Aha! So there are people on this list and not on x10-core who are working off of SVN head...
SVN head is in the middle of a significant set of language changes. I believe Dave Grove sent out a message about that earlier. If you want to work with a stable version, use the 2.0.6 released version. In this case, I committed earlier this weekend some changes that mean that async (p) Stmt is no longer accepted. Rather you have to use async at (p) Stmt or at(p) async Stmt. Will make the syntactic cahnge in CUDABlackScholes.x10 shortly. However, it is possible that Dave Cunningham will have to make some changes in his CUDA implementation for this to work correctly. On 9/12/2010 6:48 PM, Thomas Ettinger wrote: > I'm not quite sure why this fails; I am using the SVN version of X10 and the > sample is from SVN as well, but CUDABlackScholes gives some weird errors. I > compiled X10 with: > > ant -Doptimize=true -DX10RT_CUDA squeakyclean dist > > After this succeeded, from a directory containing CUDABlackScholes.x10 , I > compiled the example in question with: > > x10cuda -O -STATIC_CALLS CUDABlackScholes.x10 > > And I got: > > /Users/me/Code/X10/X10-code/BlackScholes/src/CUDABlackScholes.x10:39: Syntax > error: Token(s) inserted to complete scope: "( )" > finish async (p) @CUDA @CUDADirectParams { > ^-^ > /Users/me/Code/X10/X10-code/BlackScholes/src/CUDABlackScholes.x10:39: Syntax > error: Token(s) inserted to complete scope: ";" > finish async (p) @CUDA @CUDADirectParams { > ^-^ > 2 errors. > > I am not familiar with X10 at this point (I am just trying to benchmark it vs. > the NVIDIA-provided CUDA BlackScholes program to see how it performs), so this > error is pretty puzzling. Any help on how to get this to run successfully > would > be appreciated. > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > X10-users mailing list > X10-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/x10-users > > > ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ X10-users mailing list X10-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/x10-users