cuda::experimental::device_default_memory_pool#

inline device_memory_pool_ref cuda::experimental::device_default_memory_pool(
::cuda::device_ref __device,
)#

Returns the default cudaMemPool_t from the specified device.

Throws:

cuda_error – if retrieving the default cudaMemPool_t fails.

Returns:

The default memory pool of the specified device.