-
-
Notifications
You must be signed in to change notification settings - Fork 98
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
Detect gpu architecture in build.rs
and pass --gpu-architecture
flag to nvcc
#438
Comments
Or
|
Two questions on this:
Otherwise you might need to get the device name(s) and check them against this list or something: https://docs.nvidia.com/cuda/cuda-compiler-driver-nvcc/index.html#gpu-feature-list |
I think not, one asset of being a compiled framework, is that we can make it highly optimized for the highest possible compute capability making small and efficient binaries for a specific platform it's supposed to work on. Making this overridable for users that want to create shared binaries would be good. But I don't think it should be the default. |
Oh |
* #438 using --gpu-architecture native for nvcc * Revert adding cuda to default features * Fixing ci-check for cuda
Unsure how to detect as of now, so part of this issue is to figure that out!
The text was updated successfully, but these errors were encountered: