Collective Variables Module - Developer Documentation
Loading...
Searching...
No Matches
colvar_rotation_derivative_kernel.h
1#ifndef COLVAR_ROTATION_DERIVATIVE_KERNEL_H
2#define COLVAR_ROTATION_DERIVATIVE_KERNEL_H
3
4#include "colvarmodule.h"
5#include "colvar_gpu_support.h"
6#include "colvar_rotation_derivative.h"
7
8#if defined(COLVARS_CUDA) || defined(COLVARS_HIP)
9
10namespace colvars_gpu {
11
12int prepare_derivative(
13 rotation_derivative_dldq dldq,
14 const cvm::real* S_eigval,
15 const cvm::real* S_eigvec,
16 cvm::real* tmp_Q0Q0,
17 cvm::real* tmp_Q0Q0_L,
18 cudaGraphNode_t& node,
19 cudaGraph_t& graph,
20 const std::vector<cudaGraphNode_t>& dependencies);
21
22}
23
24#endif // defined(COLVARS_CUDA) || defined(COLVARS_HIP)
25#endif // COLVAR_ROTATION_DERIVATIVE_KERNEL_H
double real
Defining an abstract real number allows to switch precision.
Definition: colvarmodule.h:98
Collective variables main module.