You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The linking stage of malloc_test complains that it cannot find CUDA symbols like _cudaFree and _cudaMalloc.
I noticed that if I switch calls to cc_library and cc_test into nv_library and nv_test, the build would succeed. However, what would imply that users would have to write a lot of if(WITH_GPU) in their CMakeLists.txt files.
Is it alright to change bazel.cmake to have the behavior that if any dependent relies on CUDA, all dependees rely on CUDA too?
Thanks!
The text was updated successfully, but these errors were encountered:
I wrote a CMakeLists.txt file like the following
The linking stage of malloc_test complains that it cannot find CUDA symbols like
_cudaFree
and_cudaMalloc
.I noticed that if I switch calls to cc_library and cc_test into nv_library and nv_test, the build would succeed. However, what would imply that users would have to write a lot of
if(WITH_GPU)
in their CMakeLists.txt files.Is it alright to change bazel.cmake to have the behavior that if any dependent relies on CUDA, all dependees rely on CUDA too?
Thanks!
The text was updated successfully, but these errors were encountered: