Skip to content

Commit

Permalink
Fic incorrect include in cuda_pinned_memory_resource.h
Browse files Browse the repository at this point in the history
We need `cuda_runtime.h`for the C++ `cudaMallocHost` and not `cuda_runtime_api.h`
  • Loading branch information
miscco committed Apr 17, 2024
1 parent 9a9bffd commit aebae6f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#if !defined(_CCCL_COMPILER_MSVC_2017)

# if !defined(_CCCL_CUDA_COMPILER_NVCC) && !defined(_CCCL_CUDA_COMPILER_NVHPC)
# include <cuda_runtime_api.h>
# include <cuda_runtime.h>
# endif // !_CCCL_CUDA_COMPILER_NVCC && !_CCCL_CUDA_COMPILER_NVHPC

# include <cuda/__memory_resource/get_property.h>
Expand Down

0 comments on commit aebae6f

Please sign in to comment.