Skip to content

Commit 7d8874e

Browse files
committed
Fix cudaMemAllocationHandleType namespace
1 parent 585fa12 commit 7d8874e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

cpp/src/memory/pinned_memory_resource.cu

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ cuda::memory_pool_properties get_memory_pool_properties() {
3838
.release_threshold = std::numeric_limits<size_t>::max(),
3939
// This defines how the allocations can be exported (IPC). See the docs of
4040
// `cudaMemPoolCreate` in <https://docs.nvidia.com/cuda/cuda-runtime-api>.
41-
.allocation_handle_type =
42-
cuda::cudaMemAllocationHandleType::cudaMemHandleTypeNone
41+
.allocation_handle_type = ::cudaMemAllocationHandleType::cudaMemHandleTypeNone
4342
};
4443
}
4544
#else

0 commit comments

Comments
 (0)