Collective Variables Module - Developer Documentation
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
colvars_gpu::colvarmodule_gpu_calc::compute_gpu_graph_t Class Reference

A struct for holding a CUDA graph and its execution object. More...

#include <colvar_gpu_calc.h>

Public Member Functions

 compute_gpu_graph_t ()
 Constructor.
 
int init ()
 (Re)initialize the CUDA graph
 
 ~compute_gpu_graph_t ()
 Destructor.
 
void dump_graph (const char *filename)
 Dump the CUDA graph to a dot file for debugging.
 

Public Attributes

bool graph_exec_initialized
 Flag to describe whether the graph execution instance has been initialized.
 
cudaGraph_t graph
 CUDA graph object.
 
cudaGraphExec_t graph_exec
 CUDA graph execution instance object.
 
std::vector< compute_node_tnodes
 List of compute nodes.
 

Detailed Description

A struct for holding a CUDA graph and its execution object.


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