device_default_memory_pool#
- inline device_memory_pool_ref &cuda::device_default_memory_pool(
- ::cuda::device_ref __device
Returns the default
cudaMemPool_tfrom the specified device.- Throws:
cuda_error – if retrieving the default
cudaMemPool_tfails.- Returns:
The default memory pool of the specified device.