11 const size_t maxAllocationSize =
19 if (
UNLIKELY(nbytes > maxAllocationSize)) {
20 throw std::runtime_error(
"Tried to allocate " + std::to_string(nbytes) +
21 " 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 unsigned int IntPow(unsigned int base, unsigned int exp)
void free_device(int device, void *ptr)
void * allocate_device(int dev, size_t nbytes, cudaStream_t stream)
constexpr bool useCaching
notcub::CachingDeviceAllocator & getCachingDeviceAllocator()
#define cudaCheck(ARG,...)
constexpr unsigned int binGrowth