From f1fa09eb43ad000f108518a79b83d3b1b7ff917e Mon Sep 17 00:00:00 2001 From: Bernhard Manfred Gruber Date: Tue, 28 Jan 2025 21:55:48 +0100 Subject: [PATCH] Update ptx_isa.h to include 8.6 and 8.7 (#3563) --- libcudacxx/include/cuda/std/__cccl/ptx_isa.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libcudacxx/include/cuda/std/__cccl/ptx_isa.h b/libcudacxx/include/cuda/std/__cccl/ptx_isa.h index c351d402a31..e64504fb1d8 100644 --- a/libcudacxx/include/cuda/std/__cccl/ptx_isa.h +++ b/libcudacxx/include/cuda/std/__cccl/ptx_isa.h @@ -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