Notes |
|
(0029061)
|
James Bigler
|
2012-04-02 17:55
|
|
Yeah, when I wrote FindCUDA I don't think I realized that cudart didn't actually depend on the driver library (and perhaps it didn't at first - this module code has existed since before the first CUDA capable hard ware existed).
Now, I have to try and figure out how to fix this that won't break existing applications. The documentation says that CUDA_LIBRARIES are for the run time libraries, but what if users were using both the CUDA driver library and the CUDA run time libraries and relied on the exiting behavior. Would the existing behavior be considered a bug or a "feature" I would need to make sure kept working?
I'm not suggesting this should never be fixed, because it's bugged me for a while once I realized that the cuda run time stopped linking against the driver library.
You can work around this by setting CUDA_LIBRARIES to ${CUDA_CUDART_LIBRARY}.
set(CUDA_LIBRARIES "${CUDA_CUDART_LIBRARIES}")
cuda_add_library() |
|
|
(0029071)
|
Vladislav
|
2012-04-04 01:04
|
|
It is possible to add a variable which will define to use old and new behavior. By default to use old behavior. |
|
|
(0032625)
|
James Bigler
|
2013-03-14 01:54
|
|
This should be fixed in 2.8.11. See checkin 3497bc2. |
|
|
(0034004)
|
Robert Maynard
|
2013-10-07 10:04
|
|
Closing resolved issues that have not been updated in more than 4 months. |
|