3#ifndef source_estate_ELECSTATE_MULTI_DEVICE_H
4#define source_estate_ELECSTATE_MULTI_DEVICE_H
10template <
typename FPTYPE,
typename Device>
28 const int& nrxx_dense,
31 const std::complex<FPTYPE>* wfcr);
52 const int& nrxx_dense,
55 const std::complex<FPTYPE>* wfcr,
56 const std::complex<FPTYPE>* wfcr_another_spin);
59#if __CUDA || __UT_USE_CUDA || __ROCM || __UT_USE_ROCM
60template <
typename FPTYPE>
63 void operator()(
const base_device::DEVICE_GPU* ctx,
66 const int& nrxx_dense,
69 const std::complex<FPTYPE>* wfcr);
71 void operator()(
const base_device::DEVICE_GPU* ctx,
75 const int& nrxx_dense,
78 const std::complex<FPTYPE>* wfcr,
79 const std::complex<FPTYPE>* wfcr_another_spin);
Definition read_atoms_hlp_test.cpp:13
Definition elecstate_op.h:11
void operator()(const Device *ctx, const int &spin, const int &nrxx, const int &nrxx_dense, const FPTYPE &weight, FPTYPE **rho, const std::complex< FPTYPE > *wfcr)
Calculate psiToRho output within the band-by-band loop, NSPIN != 4.