Hello, I tried compiling the running X10 GPU examples provided in the x10-trunk/x10.dist/samples/CUDA directory without success. The error I get is: async id 59 is not a CUDA kernel. I understand this happens if the async construct is not marked as @CUDA correctly, but I have not changed the examples at all. This is my setup: CUDA device information:
CUDA Device Query (Runtime API) version (CUDART static linking) Detected 1 CUDA Capable device(s) Device 0: "GeForce 320M" CUDA Driver Version / Runtime Version 5.0 / 5.0 CUDA Capability Major/Minor version number: 1.2 Total amount of global memory: 253 MBytes (265027584 bytes) ( 6) Multiprocessors x ( 8) CUDA Cores/MP: 48 CUDA Cores GPU Clock rate: 950 MHz (0.95 GHz) Memory Clock rate: 1064 Mhz Memory Bus Width: 128-bit Max Texture Dimension Size (x,y,z) 1D=(8192), 2D=(65536,32768), 3D=(2048,2048,2048) Max Layered Texture Size (dim) x layers 1D=(8192) x 512, 2D=(8192,8192) x 512 Total amount of constant memory: 65536 bytes Total amount of shared memory per block: 16384 bytes Total number of registers available per block: 16384 Warp size: 32 Maximum number of threads per multiprocessor: 1024 Maximum number of threads per block: 512 Maximum sizes of each dimension of a block: 512 x 512 x 64 Maximum sizes of each dimension of a grid: 65535 x 65535 x 1 Maximum memory pitch: 2147483647 bytes Texture alignment: 256 bytes Concurrent copy and kernel execution: Yes with 1 copy engine(s) Run time limit on kernels: Yes Integrated GPU sharing Host Memory: Yes Support host page-locked memory mapping: Yes Alignment requirement for Surfaces: Yes Device has ECC support: Disabled Device supports Unified Addressing (UVA): No Device PCI Bus ID / PCI location ID: 0 / 0 Compute Mode: < Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) > deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 5.0, CUDA Runtime Version = 5.0, NumDevs = 1, Device0 = GeForce 320M X10 setup: X10 svn version: r24750 X10 compiler compiled using: ant dist -DX10RT_CUDA=true -Doptimize=false -DDISABLE_GC=true -DNO_CHECKS=true -DX10RT_MPI=true The CUDA examples were compiled using the command: x10c++ -O -NO_CHECKS CUDATopology.x10 -o CUDATopology (this example works). Output of X10RT_ACCELS=ALL ./CUDATopology is: Place: Place(0) Parent: Place(0) NumChildren: 1 Is a Host place Child 0: Place(1) Parent: Place(0) NumChildren: 0 Is a CUDA place No other examples work: they all tell me that async 72 is not a CUDA kernel. I could not compile with the -STATIC_CALLS, because the x10c++ compiler did not support it. These examples run fine on the CPU. Also, I ran the examples like so: x10RT_ACCELS=ALL ./CUDABlackScholes (for example). Any help is appreciated. -- Avinash Malik ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ X10-users mailing list X10-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/x10-users