File tree Expand file tree Collapse file tree
source/module_hamilt_pw/hamilt_pwdft/kernels Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -405,7 +405,7 @@ __global__ void cal_force_onsite(int wg_nc,
405405 int nkb,
406406 const int * atom_nh,
407407 const int * atom_na,
408- int tpiba,
408+ const FPTYPE tpiba,
409409 const FPTYPE * d_wg,
410410 const thrust::complex <FPTYPE >* vu,
411411 const int * orbital_corr,
@@ -477,7 +477,7 @@ __global__ void cal_force_onsite_np1(int wg_nc,
477477 int nkb,
478478 const int * atom_nh,
479479 const int * atom_na,
480- int tpiba,
480+ const FPTYPE tpiba,
481481 const FPTYPE * d_wg,
482482 const thrust::complex <FPTYPE >* vu,
483483 const int * orbital_corr,
@@ -543,7 +543,7 @@ __global__ void cal_force_onsite(int wg_nc,
543543 int nkb,
544544 const int * atom_nh,
545545 const int * atom_na,
546- int tpiba,
546+ const FPTYPE tpiba,
547547 const FPTYPE * d_wg,
548548 const FPTYPE * lambda,
549549 const thrust::complex <FPTYPE >* becp,
@@ -603,7 +603,7 @@ __global__ void cal_force_onsite_np1(int wg_nc,
603603 int nkb,
604604 const int * atom_nh,
605605 const int * atom_na,
606- int tpiba,
606+ const FPTYPE tpiba,
607607 const FPTYPE * d_wg,
608608 const FPTYPE * lambda,
609609 const thrust::complex <FPTYPE >* becp,
Original file line number Diff line number Diff line change @@ -421,7 +421,7 @@ __global__ void cal_force_onsite(int wg_nc,
421421 int nkb,
422422 const int * atom_nh,
423423 const int * atom_na,
424- int tpiba,
424+ const FPTYPE tpiba,
425425 const FPTYPE * d_wg,
426426 const thrust::complex <FPTYPE >* vu,
427427 const int * orbital_corr,
@@ -488,7 +488,7 @@ __global__ void cal_force_onsite(int wg_nc,
488488 int nkb,
489489 const int * atom_nh,
490490 const int * atom_na,
491- int tpiba,
491+ const FPTYPE tpiba,
492492 const FPTYPE * d_wg,
493493 const FPTYPE * lambda,
494494 const thrust::complex <FPTYPE >* becp,
You can’t perform that action at this time.
0 commit comments