This is the ebuild for the GPU Computing SDK code samples of the Nvidia CUDA Toolkit 3.2 RC. This SDK depends on the nvidia-cuda-toolkit-3.2_rc1.ebuild for compilation of the examples and the nvidia-drivers-260.24.ebuild for execution of the binaries on the Nvidia GPUs of CUDA or Fermi class.
Created attachment 249045 [details] nvidia-cuda-sdk-3.2_rc1.ebuild This is the file for the nvidia-cuda-sdk-3.2_rc1.ebuild.
This ebuild no longer works due to the file not existing on the nvidia site. The new location for the newest 3.2.12 SDK is: http://developer.download.nvidia.com/compute/cuda/3_2/sdk/gpucomputingsdk_3.2.12_linux.run Changing this in the ebuild allowed it to create a digest, but not actually emerge. The emerge failed on the FunctionPointers sample with the lines: In file included from FunctionPointers.cpp:28:0: FunctionPointers_kernels.h:29:1: warning: deprecated conversion from string constant to ‘char*’ FunctionPointers_kernels.h:29:1: warning: deprecated conversion from string constant to ‘char*’ FunctionPointers_kernels.h:29:1: warning: deprecated conversion from string constant to ‘char*’ FunctionPointers.cpp:46:27: warning: deprecated conversion from string constant to ‘char*’ FunctionPointers_kernels.cu(62): error: calling a host function from a __device__/__global__ function is not allowed FunctionPointers_kernels.cu(62): error: calling a host function from a __device__/__global__ function is not allowed 2 errors detected in the compilation of "/tmp/tmpxft_00000886_00000000-4_FunctionPointers_kernels.cpp1.ii". make[1]: *** [obj/x86_64/release/FunctionPointers_kernels.cu_20.o] Error 2 The refered to line is: short Sum = (short) (fScale*(abs(Horz)+abs(Vert))); It appears to think there is no __device__ version of the abs() function?
Created attachment 254239 [details] An ebuild for the final release This ebuild has some issues with "doins failed" and messages, but it appears to install the SDK correctly, so I am uploading it. Hopefully someone can work other the other issues, which might have been present in the previous ebuild, although I usually build with --jobs, so I do not see those messages.
3.2 added to CVS, thanks for reporting the new version.