Hi, I fixed the problem, it works how you discribed, now I can compile the CUDA samples. I have to use the svn download of the X10 source, not the public release, thank you.
2010/6/16 Sascha Roloff <sascha.rol...@googlemail.com> > Hi David, > > thanks for the fast response. Ok, I have built X10 with -DX10RT_CUDA and > had to adapt the paths to my cuda installation in the Makefile of x10rt. > Everything worked fine, but I can't find x10cuda in the directories. Do I > have to install it separately? Many thanks. > > 2010/6/16 Cunningham, David <david.cunningha...@imperial.ac.uk> > > It is actually -STATIC_CALLS not -DYNAMIC_CALLS, sorry >> ________________________________________ >> From: x10-users-boun...@lists.sourceforge.net [ >> x10-users-boun...@lists.sourceforge.net] On Behalf Of Cunningham, David [ >> david.cunningha...@imperial.ac.uk] >> Sent: 16 June 2010 12:48 >> To: Mailing list for users of the X10 programming language >> Subject: Re: [X10-users] CUDA support >> >> Hi >> >> The CUDA support is at an alpha stage and being actively developed but the >> samples should run. >> >> X10 has to be built from source with -DX10RT_CUDA parameter to ant, this >> will assume cuda is installed on the build machine and the libraries are >> reachable on the path. >> >> The X10 program has to be compiled with x10cuda rather than x10c++. This >> adds the CUDA code generation plugin to the backend. It assumes that nvcc >> is installed and on the path and uses it to build .cubin files. >> >> At the moment one has to use -DYNAMIC_CALLS because otherwise the frontend >> will insert implicit casts that are not implemented on the GPU. >> >> Finally, at runtime, set the environment variable X10RT_ACCELS=ALL to >> allow the program to use every GPU in the system, or if more control is >> needed, e.g. X10RT_ACCELS=CUDA0,CUDA0,CUDA1 to set up two accelerator >> devices on the first place and one on the second. >> >> ________________________________________ >> From: x10-users-boun...@lists.sourceforge.net [ >> x10-users-boun...@lists.sourceforge.net] On Behalf Of Sascha Roloff [ >> sascha.rol...@googlemail.com] >> Sent: 16 June 2010 10:55 >> To: Mailing list for users of the X10 programming language >> Subject: [X10-users] CUDA support >> >> Hi, >> >> I am using X10 v2.0.4. >> >> Does anybody know how to activate or use the CUDA support within x10 >> programs? I can't find any information about that, neither on the x10 >> homepage >> nor on the internet. I just found the sample programs, but I don't know >> how >> to >> compile and to activate the CUDA compiler plugin? >> >> Can anybody help me? >> >> Kind regards, >> Sascha >> >> ------------------------------------------------------------------------------ >> ThinkGeek and WIRED's GeekDad team up for the Ultimate >> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the >> lucky parental unit. See the prize list and enter to win: >> http://p.sf.net/sfu/thinkgeek-promo >> _______________________________________________ >> X10-users mailing list >> X10-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/x10-users >> >> >> ------------------------------------------------------------------------------ >> ThinkGeek and WIRED's GeekDad team up for the Ultimate >> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the >> lucky parental unit. See the prize list and enter to win: >> http://p.sf.net/sfu/thinkgeek-promo >> _______________________________________________ >> X10-users mailing list >> X10-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/x10-users >> >> >> ------------------------------------------------------------------------------ >> ThinkGeek and WIRED's GeekDad team up for the Ultimate >> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the >> lucky parental unit. See the prize list and enter to win: >> http://p.sf.net/sfu/thinkgeek-promo >> _______________________________________________ >> X10-users mailing list >> X10-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/x10-users >> > > ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ X10-users mailing list X10-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/x10-users