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