ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
gint_gpu_vars.h
Go to the documentation of this file.
1#ifndef ABACUS_SOURCE_HAMILT_MODULE_GINT_KERNEL_GINT_GPU_VARS_H
2#define ABACUS_SOURCE_HAMILT_MODULE_GINT_KERNEL_GINT_GPU_VARS_H
3
4#include "set_const_mem.cuh"
8#include <cuda_runtime.h>
9
10namespace ModuleGint
11{
12
14{
15 public:
16 GintGpuVars(std::shared_ptr<const BigGridInfo> bgrid_info, const UnitCell &ucell, const Numerical_Orbital *Phi);
18
19 int nwmax;
20 double dr_uniform;
21 double nr_max;
22 double *rcut_d = nullptr;
23 int *atom_nw_d = nullptr;
24 int *ucell_atom_nwl_d = nullptr;
25 bool *atom_iw2_new_d = nullptr;
26 int *atom_iw2_ylm_d = nullptr;
27 int *atom_iw2_l_d = nullptr;
28 double *psi_u_d = nullptr;
29 double *dpsi_u_d = nullptr;
30 double *d2psi_u_d = nullptr;
31 double3 *mgrids_pos_d = nullptr;
32 int *iat2it_d = nullptr;
33
34 // the index of gpu device
35 int dev_id_ = 0;
36};
37
38} // namespace ModuleGint
39
40#endif // ABACUS_SOURCE_HAMILT_MODULE_GINT_KERNEL_GINT_GPU_VARS_H
bool * atom_iw2_new_d
Definition gint_gpu_vars.h:25
GintGpuVars(std::shared_ptr< const BigGridInfo > bgrid_info, const UnitCell &ucell, const Numerical_Orbital *Phi)
Definition gint_gpu_vars.cpp:8
int * atom_iw2_l_d
Definition gint_gpu_vars.h:27
int * atom_nw_d
Definition gint_gpu_vars.h:23
int * iat2it_d
Definition gint_gpu_vars.h:32
double dr_uniform
Definition gint_gpu_vars.h:20
int * ucell_atom_nwl_d
Definition gint_gpu_vars.h:24
int dev_id_
Definition gint_gpu_vars.h:35
~GintGpuVars()
Definition gint_gpu_vars.cpp:102
int nwmax
Definition gint_gpu_vars.h:19
double3 * mgrids_pos_d
Definition gint_gpu_vars.h:31
double * dpsi_u_d
Definition gint_gpu_vars.h:29
int * atom_iw2_ylm_d
Definition gint_gpu_vars.h:26
double * d2psi_u_d
Definition gint_gpu_vars.h:30
double nr_max
Definition gint_gpu_vars.h:21
double * rcut_d
Definition gint_gpu_vars.h:22
double * psi_u_d
Definition gint_gpu_vars.h:28
Definition orb_atomic.h:52
Provide the basic information about unitcell.
Definition unitcell.h:16
Definition batch_biggrid.cpp:4