Richard, "svn diff -r18088:18092 x10.runtime/x10rt/common/x10rt_cuda.cc" in our repo should generate that patch. Igor
Richard Gomes <rgomes1...@yahoo.co.uk> wrote on 11/09/2010 05:11:43 PM: > Hi Dave, > > Could you please send the patch again? > > Thanks > > Richard Gomes > M: +44(77)9955-6813 > http://tinyurl.com/frgomes > twitter: frgomes > > JQuantLib is a library for Quantitative Finance written in Java. > http://www.jquantlib.org/ > twitter: jquantlib > > On 09/11/10 03:45, Dave Cunningham wrote: > > Thanks for trying out X10/CUDA > > > > Your initial problem with CUDATopology is due to the fact that X10RT_ACCELS > > is ineffective if X10 was built without -DX10RT_CUDA=true, this means the > > X10 application was unable to 'see' the accelerators. You correctly > > surmised that building X10 from the source release was necessary. > > > > The build errors are due to nvidia adding more error codes and making > > backwards incompatible changes in the CUDA API. This is now fixed in SVN. > > I checked the build with the following CUDA versions: > > > > cuda-2.2 cuda-2.3 cuda-3.0 cuda-3.1 cuda-3.2.12 > > > > If you decide to use SVN, there are some changes to the way kernels should > > be written in X10 that are currently undocumented (except via the code in > > the samples dir). Also, we can't guarantee there won't be more changes (and > > breakages) before the next release. However you will be able to try new > > features like clocks and constant memory on the GPU. > > > > If using SVN does not appeal, you can also patch the source release to fix > > this problem. Apply the attached patch from the root of the source release > > as follows, and rebuild: > > > > patch -p0< cuda_3.2.patch > > > > hope this helps -- Igor Peshansky (note the spelling change!) IBM T.J. Watson Research Center X10: Parallel Productivity and Performance (http://x10-lang.org/) XJ: No More Pain for XML's Gain (http://www.research.ibm.com/xj/) "I hear and I forget. I see and I remember. I do and I understand" -- Xun Zi ------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ X10-users mailing list X10-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/x10-users