The populate_cuda_graph
function is a member function of the Graph
class. It is used to populate a CUDA graph with the necessary data and operations.
handle
: A cuDNN handle.uid_to_device_ptrs
: A map of tensor UIDs to device pointers.workspace
: A pointer to the workspace memory.cudnn_cuda_graph
: A pointer to the CUDA graph.
- An
error_t
object indicating the success or failure of the function.
The update_cuda_graph
function is a member function of the Graph
class. It is used to update a CUDA graph with the necessary data and operations.
handle
: A cuDNN handle.uid_to_device_ptrs
: A map of tensor UIDs to device pointers.workspace
: A pointer to the workspace memory.cudnn_cuda_graph
: A pointer to the CUDA graph.
- An
error_t
object indicating the success or failure of the function.