warp.is_mempool_access_enabled#

warp.is_mempool_access_enabled(target_device, peer_device)[source]#

Check if peer_device can currently access the memory pool of target_device.

This applies to memory allocated using CUDA pooled allocators. For memory allocated using default CUDA allocators, use is_peer_access_enabled().

Returns:

A Boolean value indicating if this peer access is currently enabled.

Parameters:
Return type:

bool