10 const size_t maxAllocationSize =
18 if (
UNLIKELY(nbytes > maxAllocationSize)) {
19 throw std::runtime_error(
"Tried to allocate " +
std::to_string(nbytes) +
20 " bytes, but the allocator maximum is " +
std::to_string(maxAllocationSize));
constexpr unsigned int maxBin
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
static std::string to_string(const XMLCh *ch)
void free_host(void *ptr)
static unsigned int IntPow(unsigned int base, unsigned int exp)
notcub::CachingHostAllocator & getCachingHostAllocator()
constexpr bool useCaching
void * allocate_host(size_t nbytes, cudaStream_t stream)
#define cudaCheck(ARG,...)
constexpr unsigned int binGrowth