Skip to content

Commit

Permalink
4K
Browse files Browse the repository at this point in the history
  • Loading branch information
vuule committed Dec 17, 2024
1 parent a5ac4bf commit a8ffc05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/src/utilities/host_memory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<size_t> threshold = 0;
// Use pinned memory for all allocations smaller than this threshold
static std::atomic<size_t> threshold = 4096;
return threshold;
}

Expand Down

0 comments on commit a8ffc05

Please sign in to comment.