Skip to content

#error: "CUDA atomics are only supported for sm_60 and up on *nix and sm_70 and up on Windows" #425

Answered by PointKernel
kevkrist asked this question in Q&A
Discussion options

You must be logged in to vote

Just FYI, building on Windows (#195) is backlogged and won't be addressed in the short term.

As for the build error itself, you may want to build your code by explicitly specifying a sm_70+ arch, e.g.:

nvcc -std=c++17 -arch=sm_89 --expt-extended-lambda --expt-relaxed-constexpr mycode.cu

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kevkrist
Comment options

Answer selected by kevkrist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants