Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 339214 - nvidia-cuda-sdk-3.2_rc1 version bump
Summary: nvidia-cuda-sdk-3.2_rc1 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Michal Januszewski (RETIRED)
URL: http://developer.nvidia.com/object/cu...
Whiteboard:
Keywords:
Depends on: 339213
Blocks:
  Show dependency tree
 
Reported: 2010-09-30 06:38 UTC by René Oertel
Modified: 2010-12-01 22:02 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
nvidia-cuda-sdk-3.2_rc1.ebuild (nvidia-cuda-sdk-3.2_rc1.ebuild,1.45 KB, text/plain)
2010-09-30 06:40 UTC, René Oertel
Details
An ebuild for the final release (nvidia-cuda-sdk-3.2.ebuild,1.46 KB, text/plain)
2010-11-13 20:42 UTC, Richard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description René Oertel 2010-09-30 06:38:56 UTC
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.
Comment 1 René Oertel 2010-09-30 06:40:05 UTC
Created attachment 249045 [details]
nvidia-cuda-sdk-3.2_rc1.ebuild

This is the file for the nvidia-cuda-sdk-3.2_rc1.ebuild.
Comment 2 Charl van Deventer 2010-11-05 13:00:15 UTC
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?
Comment 3 Richard 2010-11-13 20:42:32 UTC
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.
Comment 4 Michal Januszewski (RETIRED) gentoo-dev 2010-12-01 22:02:20 UTC
3.2 added to CVS, thanks for reporting the new version.