-
Notifications
You must be signed in to change notification settings - Fork 12.2k
cuda: set cuda compiler path (#13527) #13528
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
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: lizhenneng <[email protected]>
According to the docs:
Which means you probably should not unconditionally override |
I will revise my patch later。 |
Signed-off-by: lizhenneng <[email protected]>
|
Will you merge this patch? |
I don't think there is enough justification to merge this. You can set manually |
And certainly not as-is, it still unconditionally overrides the variable. |
We can set CMAKE_CUDA_COMPILER to /usr/local/cuda/bin/nvcc, but it's is not compatible with other system, so we use cmake's variable CUDAToolkit_NVCC_EXECUTABLE.