-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dlopen libcuda.so
#70
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks great!
We also need to drop the following line from the CMakeLists.txt since we don't need to link to libcuda.so
anymore.
target_link_libraries(kvikio INTERFACE CUDA::cuda_driver)
@robertmaynard since we still need target_link_libraries(kvikio INTERFACE cufile::cuFile_interface) Or do we just assume that |
Yes, if you link to the |
Thanks for the review @robertmaynard, we now return references and linking like: target_link_libraries(kvikio INTERFACE CUDA::toolkit) |
Should we add some kind of test to ensure we are not linking to Is there anything we need to do on the Python side? Or for nvCOMP bindings? |
I checked this previously f837214 but now that we don't link to
I don't think so, nvCOMP is using the Runtime CUDA API. |
Why did we drop the following check, as it also confirmed that we didn't bring in a hard-dependency transitively?
|
Good point, adding the check again :) |
@robertmaynard what do you think about the changes above? 🙂 |
Approved |
@gpucibot merge |
Thanks @robertmaynard and @jakirkham ! |
Record both total time recorded in function calls and the wall time in profiler output.
Like we do with cuFile, dlopen the CUDA driver library
@shwina