[libc] Set minimum CUDA PTX feature to +ptx60
authorJoseph Huber <jhuber6@vols.utk.edu>
Thu, 20 Apr 2023 22:59:21 +0000 (17:59 -0500)
committerJoseph Huber <jhuber6@vols.utk.edu>
Thu, 20 Apr 2023 23:01:01 +0000 (18:01 -0500)
commit8704c3a31f6011ba43fc60bef7b3c9774b9e38d9
treeed76de031f0379da7146556aa420e5a5a26bc70b
parent3c9083f6757cbaf6f8d6c601586d99a11faf642e
[libc] Set minimum CUDA PTX feature to +ptx60

Summary:
The `+ptx` features correspond to the related CUDA version. We require a
certain set of features from the `ptxas` assembler, which is tied to the
CUDA version. Some of the ones set here were insufficient, so I am
simply setting a cutoff to the CUDA 9.0 release as the minimum. This
roughly corresponds to what should be required for sm_60 to be compiled
with the source.
libc/cmake/modules/LLVMLibCObjectRules.cmake