Collective Variables Module - Developer Documentation
Loading...
Searching...
No Matches
Public Attributes | List of all members
colvars_gpu::colvarmodule_gpu_calc::compute_node_t Struct Reference

A struct for holding a compute node in the CUDA graph and its corresponding atom group or CVC (child of colvardeps) More...

#include <colvar_gpu_calc.h>

Collaboration diagram for colvars_gpu::colvarmodule_gpu_calc::compute_node_t:
Collaboration graph
[legend]

Public Attributes

colvardepscolvar_node
 Pointer to the corresponding colvardeps object.
 
cudaGraphNode_t child_graph_node
 CUDA graph node.
 
bool require_cpu_buffers
 Whether the node requires CPU buffers.
 

Detailed Description

A struct for holding a compute node in the CUDA graph and its corresponding atom group or CVC (child of colvardeps)

Note
There should be an independent data structure for AST For the time being I have to hack the colvardeps which serves partially as an AST (without any type information). There are two kinds of dependencies, namely (i) the dependencies between computational operations (cv-cvc, cvc-cvc and cvc-atom groups), and (ii) the dependencies of different features. (i) should be similar to an AST in a compiler, while (ii) should be a checker walking over the AST.

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