Thrust PTX version check #2005
Answered
by
jrhemstad
NamjaeChoi
asked this question in
Thrust
-
Hello. We want to use a code compiled with a lower CC (7.0) on a higher CC (8.9) GPU. This is because we have multiple HPC systems with different GPUs, and we want to build a container that is compatible for all our HPC systems. But Thrust complains that the code was not compiled with a proper CC if the major version does not match. What is the reason for this limitation and can this be lifted? Thank you. |
Beta Was this translation helpful? Give feedback.
Answered by
jrhemstad
Jul 18, 2024
Replies: 1 comment 9 replies
-
Can you provide an example of what you're seeing? Is this a compile time error? Runtime? A reproducer would go a long way! |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The error you're seeing isn't from any requirements Thrust is enforcing. This is just propagating an error from a CUDA runtime API call.
Can you show exactly how you're specifying the architecture flags for your build? My guess is it's only embedding SASS and not PTX. Forward compatibility only works when PTX is embedded in the binary.