Skip to main content

cudaDeviceSetGraphMemAttribute

Function cudaDeviceSetGraphMemAttribute 

Source
pub unsafe extern "C" fn cudaDeviceSetGraphMemAttribute(
    device: c_int,
    attr: cudaGraphMemAttributeType,
    value: *mut c_void,
) -> cudaError_t
Expand description

Set asynchronous allocation attributes related to graphs.

Valid attributes are.

ยงParameters

  • device: Specifies the scope of the query.
  • attr: attribute to get.
  • value: pointer to value to set.