3#ifndef source_estate_ELECSTATE_MULTI_DEVICE_H
4#define source_estate_ELECSTATE_MULTI_DEVICE_H
10template <
typename FPTYPE,
typename Device>
29 const std::complex<FPTYPE>* wfcr);
51 const std::complex<FPTYPE>* wfcr,
52 const std::complex<FPTYPE>* wfcr_another_spin);
55#if __CUDA || __UT_USE_CUDA || __ROCM || __UT_USE_ROCM
56template <
typename FPTYPE>
59 void operator()(
const base_device::DEVICE_GPU* ctx,
64 const std::complex<FPTYPE>* wfcr);
66 void operator()(
const base_device::DEVICE_GPU* ctx,
72 const std::complex<FPTYPE>* wfcr,
73 const std::complex<FPTYPE>* wfcr_another_spin);
Definition read_atoms_helper_test.cpp:11
Definition elecstate_op.h:11
void operator()(const Device *ctx, const int &spin, const int &nrxx, const FPTYPE &weight, FPTYPE **rho, const std::complex< FPTYPE > *wfcr)
Calculate psiToRho output within the band-by-band loop, NSPIN != 4.