Avoid building cuda files every build #4701
Unanswered
JAicewizard
asked this question in
Q&A
Replies: 3 comments 2 replies
-
|
@tarang-jain @cjnolet is this an nvidia-specific option in CMake we should be enabling? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
There are CMake flags for enabling / disabling both -- vanilla GPU and cuVS |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
One option I just thought of would be to check the (hash of) the contents of the file, before writing? If the contents is the same, keep the file as-is to prevent recompiling. Does this sound like a reasonable fix? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Although I am not really sure how to fix this, it would be nice if the CUDA files could not be regenerated on every build.
Currently, the cuda files are regenerated every build, and thus also recompiled every build. This compilation can take quite a while, especially in CI.
It would be nice if there were a way to avoid regenerating this every time, so that:
1: cmake is able to understand it doesn't need to recompile these files
2: These files can be cached in CI (and then the benefit of 1 would also work in CI).
Beta Was this translation helpful? Give feedback.
All reactions