From aebae6f199a7174ebdb5d0024ff1bcc8a59cb8c7 Mon Sep 17 00:00:00 2001 From: Michael Schellenberger Costa Date: Wed, 17 Apr 2024 08:46:32 +0200 Subject: [PATCH] Fic incorrect include in `cuda_pinned_memory_resource.h` We need `cuda_runtime.h`for the C++ `cudaMallocHost` and not `cuda_runtime_api.h` --- .../cuda/__memory_resource/cuda_pinned_memory_resource.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcudacxx/include/cuda/__memory_resource/cuda_pinned_memory_resource.h b/libcudacxx/include/cuda/__memory_resource/cuda_pinned_memory_resource.h index 2ef1c614bce..402c5ebc7a7 100644 --- a/libcudacxx/include/cuda/__memory_resource/cuda_pinned_memory_resource.h +++ b/libcudacxx/include/cuda/__memory_resource/cuda_pinned_memory_resource.h @@ -24,7 +24,7 @@ #if !defined(_CCCL_COMPILER_MSVC_2017) # if !defined(_CCCL_CUDA_COMPILER_NVCC) && !defined(_CCCL_CUDA_COMPILER_NVHPC) -# include +# include # endif // !_CCCL_CUDA_COMPILER_NVCC && !_CCCL_CUDA_COMPILER_NVHPC # include