CudaPtr< void > syten::Cuda::alloc_on_device | ( | std::size_t | sz, |
std::int16_t | device | ||
) |
Allocates sz
bytes on the specified CUDA allocation device.
References syten::Cuda::CudaAllocator::alloc(), and allocator.
Referenced by alloc(), and alloc_on_device().