Skip to content

Commit

Permalink
Update ptx_isa.h to include 8.6 and 8.7 (#3563)
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardmgruber authored Jan 28, 2025
1 parent e08bda4 commit 83b10c2
Showing 1 changed file with 5 additions and 2 deletions.
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

0 comments on commit 83b10c2

Please sign in to comment.