Kepler architecture support was removed from CUDA 12.0.
Skip tests that target to Kepler architecture when using ptxas v12.0.
Details
- Reviewers
tra
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Event Timeline
Description could use some details. I.e. what makes sm_35 special? I assume it's due to the fact that sm_35 is no longer supported.
Instead of special-casing ptxas-12.0, perhpas a better way is to just always run ptxas with -arch=sm_60 so it would work with ptxas from all reasonably new CUDA versions.
llvm/test/lit.cfg.py | ||
---|---|---|
215–216 | There are also 11.7 and 11.8. |
Thank you. I've added details to the description.
As for choosing to an actual ptxas version, yes we could do this.
But original motivation to use minimal possible version of architecture/PTX was to catch errors related to appearance of new instructions and adding appropriate checks to the codegen. For example, https://reviews.llvm.org/D123040
On the other hand, all such cases seems to have been detected and fixed for old architectures, so we could focus on current ones.
llvm/test/lit.cfg.py | ||
---|---|---|
215–216 | Done, thank you. |
I've prepared a new review where ptxas is run -march=sm_60: https://reviews.llvm.org/D141736
There are also 11.7 and 11.8.