Now it works.
Thank you.






At 2015-11-06 00:17:41, "Benjamin Herta" <bhe...@us.ibm.com> wrote:


Hi - yes, this is a known bug in X10 2.5.3. PlaceTopology.x10 uses the wrong 
value when counting the number of hosts vs accelerators. This was fixed on Sep 
9th:
https://github.com/x10-lang/x10/commit/6cce17f84961d0cce710a5ca517808646d95934d

You can switch from 2.5.3 to trunk, or preferably, just replace your 
PlaceTopology.x10 file in 2.5.3 with the latest version of that file.

- Ben

"Chen Wang" ---11/05/2015 02:27:38 AM---Hi, I'm trying to run the X10 program 
on GPU. But it seems that X10 doesn't find my GPU.

From: "Chen Wang" <wang...@163.com>
To: x10-users@lists.sourceforge.net
Date: 11/05/2015 02:27 AM
Subject: [X10-users] X10 can't find my GPU





Hi,
I'm trying to run the X10 program on GPU. But it seems that X10 doesn't find my 
GPU.

I have a GeForce GTX 745 card.
CUDA environment is install correctly in /usr/local/cuda/
I can run all CUDA samples and my own CUDA C programs without problems.

I compiled the x10 2.5.3 as the document said:
cd x10.dist
ant dist -DX10RT_CUDA=true -Doptimize=true
Nothing went wrong here.

Then i compiled and run the samples in the x10.dist/samples/CUDA/ directory:
../../bin/x10c++ -O -STATIC_CHECKS CUDATopology.x10 -o CUDATopology
X10RT_ACCELS=ALL ./CUDATopology

The output is here:
Place: Place(0)
NumChildren: 0

Other samples won't find my GPU either.




------------------------------------------------------------------------------
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users



------------------------------------------------------------------------------
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to