From a8ffc05815bbf5bd83b57d7210a92eb1ff790980 Mon Sep 17 00:00:00 2001 From: Vukasin Milovanovic Date: Mon, 16 Dec 2024 16:50:35 -0800 Subject: [PATCH] 4K --- cpp/src/utilities/host_memory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/src/utilities/host_memory.cpp b/cpp/src/utilities/host_memory.cpp index 4196523d211..b04f90f2692 100644 --- a/cpp/src/utilities/host_memory.cpp +++ b/cpp/src/utilities/host_memory.cpp @@ -290,8 +290,8 @@ size_t get_kernel_pinned_copy_threshold() { return kernel_pinned_copy_threshold( CUDF_EXPORT auto& allocate_host_as_pinned_threshold() { - // use pageable memory for all host allocations - static std::atomic threshold = 0; + // Use pinned memory for all allocations smaller than this threshold + static std::atomic threshold = 4096; return threshold; }