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
------------------------------------------------------------------------------
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