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
Fix nvcc command lookup #3028
Fix nvcc command lookup #3028
Conversation
I used the logic of the functions with the same name in |
_nvcc_path = () | ||
|
||
|
||
def get_cuda_path(): |
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.
How about naming like as get_cuda_path_with_cache
?
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.
I think caching is an internal behavior and it's not important for the caller.
Jenkins, test this please. |
Successfully created a job for commit c808641: |
Jenkins CI test (for commit c808641, target branch master) succeeded! |
LGTM. |
Fix nvcc command lookup
Hi @niboshi, could you briefly comment what's the difference between |
Oh, I didn't notice there's one in |
Takes over #3023
In some environment,
nvcc
is not necessarilly looked up byPATH
.