Back to Taskflow

tf::cudaGraphExecDeleter class

docs/classtf_1_1cudaGraphExecDeleter.html

4.0.0730 B
Original Source

tf::cudaGraphExecDeleter class

class to create a functor for deleting an executable CUDA graph

This class provides an overloaded function call operator to safely destroy a CUDA graph using cudaGraphDestroy.

Public functions

void operator()(cudaGraphExec_t executable) constdeletes an executable CUDA graph

Function documentation

void tf::cudaGraphExecDeleter::operator()(cudaGraphExec_t executable) const

deletes an executable CUDA graph

Parameters
executable

Calls cudaGraphDestroy to release the CUDA graph resource if it is valid.