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
Adjust handling of CUDA/HIP options in CMake #5145
Conversation
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.
Perfect thanks!
Side note: there is an open PR to add hip-lang as a CMake module, this would allow to use |
Nice! Could you please link to that just for future reference? Note I definitely missed a spot based on the CI results... I'll be pushing a fix for that soon. |
9c5d3b3
to
95c5259
Compare
95c5259
to
0a267fb
Compare
@biddisco did you get a chance to try this out/does it look reasonable to you? |
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.
cmake -DHPX_WITH_ASYNC_CUDA=ON -DHPX_WITH_CUDA_COMPUTE=OFF -DHPX_WITH_CUDA=OFF
mak tests.unit.modules.async_cuda tests.performance.modules.async_cuda
ninja: error: unknown target 'tests.unit.modules.async_cuda'
|
Alternative to #5141. @biddisco could you check if the options behave the way you'd expect on this branch?