Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport to 2.8: Update ptx_isa.h to include 8.6 and 8.7 (#3563) #3576

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions libcudacxx/include/cuda/std/__cccl/ptx_isa.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,14 @@
* https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#release-notes
*/

// PTX ISA 8.5 is available from CUDA 12.5
// PTX ISA 8.7 is available from CUDA 12.8
// The first define is for future major versions of CUDACC.
// We make sure that these get the highest known PTX ISA version.
#if _CCCL_CUDACC_AT_LEAST(13, 0)
# define __cccl_ptx_isa 850ULL
# define __cccl_ptx_isa 870ULL
// PTX ISA 8.7 is available from CUDA 12.8, driver r570
#elif _CCCL_CUDACC_AT_LEAST(12, 8)
# define __cccl_ptx_isa 870ULL
// PTX ISA 8.5 is available from CUDA 12.5, driver r555
#elif _CCCL_CUDACC_AT_LEAST(12, 5)
# define __cccl_ptx_isa 850ULL
Expand Down
Loading