[clang] [llvm] [CUDA] Add a pseudo GPU sm_next which allows overriding for SM/PTX version. (PR #100247)

Justin Holewinski via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 29 06:26:49 PDT 2024


jholewinski wrote:

I'm wondering if this feature would be better named `sm_custom` or similar. The `sm_next` moniker implies that the target is for a _future_ architecture target, but this feature can be used to inject any custom SM/PTX combination. Especially if this is extended to support the architecture conditional suffix, e.g. `sm_90a`, which is more a variant on an existing target rather than a "next" target.

https://github.com/llvm/llvm-project/pull/100247


More information about the llvm-commits mailing list