Skip to main content

cuMemPoolSetAttribute

Function cuMemPoolSetAttribute 

Source
pub unsafe extern "C" fn cuMemPoolSetAttribute(
    pool: CUmemoryPool,
    attr: CUmemPool_attribute,
    value: *mut c_void,
) -> CUresult
Expand description

Sets attributes of a memory pool.

Supported attributes are:

§Parameters

  • pool: The memory pool to modify.
  • attr: The attribute to modify.
  • value: Pointer to the value to assign.

§Return value

See also: cuMemAllocAsync, cuMemFreeAsync, cuDeviceGetDefaultMemPool, cuDeviceGetMemPool, cuMemPoolCreate.