Skip to main content

cudaMemPoolGetAccess

Function cudaMemPoolGetAccess 

Source
pub unsafe extern "C" fn cudaMemPoolGetAccess(
    flags: *mut cudaMemAccessFlags,
    memPool: cudaMemPool_t,
    location: *mut cudaMemLocation,
) -> cudaError_t
Expand description

Returns the accessibility of a pool from a device.

Returns the accessibility of the pool’s memory from the specified location.

§Parameters

  • flags: the accessibility of the pool from the specified location.
  • memPool: the pool being queried.
  • location: the location accessing the pool.

See also: cuMemPoolGetAccess, cudaMemPoolSetAccess.