Skip to main content

cudaGraphUpload

Function cudaGraphUpload 

Source
pub unsafe extern "C" fn cudaGraphUpload(
    graphExec: cudaGraphExec_t,
    stream: cudaStream_t,
) -> cudaError_t
Expand description

Uploads an executable graph in a stream.

Uploads graphExec to the device in stream without executing it. Uploads of the same graphExec will be serialized. Each upload is ordered behind both any previous work in stream and any previous launches of graphExec. Uses memory cached by stream to back the allocations owned by graphExec.

ยงParameters

  • graphExec: Executable graph to upload.
  • stream: Stream in which to upload the graph.