Back to Taskflow

Taskflow: A General

docs/classtf_1_1cudaGraphDeleter.html

4.1.01.5 KB
Original Source

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

Loading...

Searching...

No Matches

Public Member Functions | List of all members

tf::cudaGraphDeleter Class Reference

class to create a functor that deletes a CUDA graph More...

#include <taskflow/cuda/cuda_graph.hpp>

|

Public Member Functions

| | void | operator() (cudaGraph_t g) const | | | deletes a CUDA graph
| | |

Detailed Description

class to create a functor that deletes a CUDA graph

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

Member Function Documentation

operator()()

|

| void tf::cudaGraphDeleter::operator() | ( | cudaGraph_t | g | ) | const |

| inline |

deletes a CUDA graph

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

Parameters

| g | the CUDA graph to be destroyed |


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