Skip to main content

cudaDeviceGetGraphMemAttribute

Function cudaDeviceGetGraphMemAttribute 

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

Query asynchronous allocation attributes related to graphs.

Valid attributes are.

ยงParameters

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