1#ifndef COLVARCOMP_DISTANCE_KERNEL_H
2#define COLVARCOMP_DISTANCE_KERNEL_H
5#include "colvar_gpu_support.h"
7#if defined(COLVARS_CUDA) || defined(COVLARS_HIP)
16 unsigned int num_atoms,
17 unsigned int num_permutations,
18 unsigned int num_ref_pos,
19 unsigned int* tbcounts,
20 std::vector<cudaGraphNode_t>& nodes,
22 const std::vector<cudaGraphNode_t>& dependencies);
24int calc_gradients_rmsd(
26 const size_t* h_best_perm_index,
30 unsigned int num_atoms,
31 unsigned int num_ref_pos,
32 cudaGraphNode_t& node,
34 const std::vector<cudaGraphNode_t>& dependencies);
36int calc_force_invgrads_rmsd(
38 const int* atoms_proxy_index,
44 unsigned int num_atoms,
45 unsigned int proxy_stride,
46 unsigned int* tbcount,
47 cudaGraphNode_t& node,
49 const std::vector<cudaGraphNode_t>& dependencies);
51class rotation_derivative_gpu;
53int calc_Jacobian_derivative_rmsd(
56 const size_t* h_best_perm_index,
63 unsigned int num_atoms,
64 unsigned int num_ref_pos,
65 unsigned int* tbcount,
66 cudaGraphNode_t& node,
68 const std::vector<cudaGraphNode_t>& dependencies);
1-dimensional vector of real numbers with four components and a quaternion algebra
Definition: colvartypes.h:978
double real
Defining an abstract real number allows to switch precision.
Definition: colvarmodule.h:98
Collective variables main module.
Definition: colvar_rotation_derivative.h:622