Back to Taskflow

Taskflow: A General

docs/classtf_1_1cudaGraphExecDeleter.html

4.1.01.6 KB
Original Source

| | Taskflow: A General-purpose Task-parallel Programming System |

Loading...

Searching...

No Matches

Public Member Functions | List of all members

tf::cudaGraphExecDeleter Class Reference

class to create a functor for deleting an executable CUDA graph More...

#include <taskflow/cuda/cuda_graph_exec.hpp>

|

Public Member Functions

| | void | operator() (cudaGraphExec_t executable) const | | | deletes an executable CUDA graph
| | |

Detailed Description

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.

Member Function Documentation

operator()()

|

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

| inline |

deletes an executable CUDA graph

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

Parameters

| executable | the executable CUDA graph to be destroyed |


The documentation for this class was generated from the following file: