-
-
Notifications
You must be signed in to change notification settings - Fork 70
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
Search for library instead of header files in build script #172
Comments
Having the search for the library in a separate crate like https://github.com/Rust-GPU/Rust-CUDA/tree/8a6cb734d21d5582052fa5b38089d1aa0f4d582f/crates/find_cuda_helper is quite nice, as it then can also be used in other projects, so that not everyone has to implement their own logic. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The build script currently searches for
cuda.h
instead oflibcuda.so
on Linux andcuda.lib
on Windows. The location of the header might not be indicative of the library location. The header is not needed, but the library is.You could do something similar to the build script in
nvidia-video-codec-sdk
: https://github.com/ViliamVadocz/nvidia-video-codec-sdk/blob/master/build.rsThe text was updated successfully, but these errors were encountered: