Skip to content
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

mixbench-cuda README missing info #44

Open
ppbrown opened this issue Sep 19, 2023 · 2 comments
Open

mixbench-cuda README missing info #44

ppbrown opened this issue Sep 19, 2023 · 2 comments

Comments

@ppbrown
Copy link

ppbrown commented Sep 19, 2023

the README.md in the cuda directory claims,
"Building should be straightforward by using the respective CMakeList.txt file."
But it is not straightforward at all.

when I try "cmake .", it errors with
CMAKE_CUDA_ARCHITECTURES must be non-empty if set.

but there is zero instruction about this, and nothing about it in the CMakeList.txt

Please update with relevant information
`
I am using:

Ubuntu 22
Cuda compilation tools, release 12.2, V12.2.140

Update:
It appears if I force the cuda tools to version 11, it is more forgiving.
But if you arent going to update to support the latest, then please update README to say this requires cuda version 11.

@SerialVelocity
Copy link

Do you have a workaround for this? I've just encountered the same error

@ekondis
Copy link
Owner

ekondis commented Jan 5, 2024

Thanks for the heads up. Yes, this parameter looks that has been introduced to CMake after my past tests.

A workaround is to set its value in the cmake command with the default CC (compute capability) of your device, e.g. for GTX-1060 that would be cmake ../mixbench-cuda -DCMAKE_CUDA_ARCHITECTURES=61

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants