ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
hsolver::DiagoLOBPCG< T, Device >::ProjectionCache Struct Reference
Collaboration diagram for hsolver::DiagoLOBPCG< T, Device >::ProjectionCache:

Public Member Functions

 ~ProjectionCache ()

Public Attributes

int columns = 0
ct::Tensor k {ct::DataType::DT_COMPLEX_DOUBLE, ct::DeviceType::CpuDevice, {0}}
 Root-owned projections of [X,P]; empty on other ranks.
ct::Tensor g {ct::DataType::DT_COMPLEX_DOUBLE, ct::DeviceType::CpuDevice, {0}}
ct::Tensor h_product {ct::DataType::DT_COMPLEX_DOUBLE, ct::DeviceType::CpuDevice, {0}}
 Host scratch for Q*C_P and the packed coefficient matrix [C_X,C_P].
ct::Tensor structural_coefficients {ct::DataType::DT_COMPLEX_DOUBLE, ct::DeviceType::CpuDevice, {0}}
ct::Tensor device_matrix
 Device scratch for the same retained-block products; host K/G remain authoritative.
ct::Tensor device_coefficients
ct::Tensor device_product
ct::Tensor device_result

Constructor & Destructor Documentation

◆ ~ProjectionCache()

template<typename T, typename Device>
template hsolver::DiagoLOBPCG< T, Device >::ProjectionCache::~ProjectionCache ( )
Here is the call graph for this function:

Member Data Documentation

◆ columns

template<typename T = std::complex<double>, typename Device = base_device::DEVICE_CPU>
int hsolver::DiagoLOBPCG< T, Device >::ProjectionCache::columns = 0

Width of the retained [X,P] block, also known on nonroot ranks.

◆ device_coefficients

template<typename T = std::complex<double>, typename Device = base_device::DEVICE_CPU>
ct::Tensor hsolver::DiagoLOBPCG< T, Device >::ProjectionCache::device_coefficients

◆ device_matrix

template<typename T = std::complex<double>, typename Device = base_device::DEVICE_CPU>
ct::Tensor hsolver::DiagoLOBPCG< T, Device >::ProjectionCache::device_matrix

Device scratch for the same retained-block products; host K/G remain authoritative.

◆ device_product

template<typename T = std::complex<double>, typename Device = base_device::DEVICE_CPU>
ct::Tensor hsolver::DiagoLOBPCG< T, Device >::ProjectionCache::device_product

◆ device_result

template<typename T = std::complex<double>, typename Device = base_device::DEVICE_CPU>
ct::Tensor hsolver::DiagoLOBPCG< T, Device >::ProjectionCache::device_result

◆ g

template<typename T = std::complex<double>, typename Device = base_device::DEVICE_CPU>
ct::Tensor hsolver::DiagoLOBPCG< T, Device >::ProjectionCache::g {ct::DataType::DT_COMPLEX_DOUBLE, ct::DeviceType::CpuDevice, {0}}

◆ h_product

template<typename T = std::complex<double>, typename Device = base_device::DEVICE_CPU>
ct::Tensor hsolver::DiagoLOBPCG< T, Device >::ProjectionCache::h_product {ct::DataType::DT_COMPLEX_DOUBLE, ct::DeviceType::CpuDevice, {0}}

Host scratch for Q*C_P and the packed coefficient matrix [C_X,C_P].

◆ k

template<typename T = std::complex<double>, typename Device = base_device::DEVICE_CPU>
ct::Tensor hsolver::DiagoLOBPCG< T, Device >::ProjectionCache::k {ct::DataType::DT_COMPLEX_DOUBLE, ct::DeviceType::CpuDevice, {0}}

Root-owned projections of [X,P]; empty on other ranks.

◆ structural_coefficients

template<typename T = std::complex<double>, typename Device = base_device::DEVICE_CPU>
ct::Tensor hsolver::DiagoLOBPCG< T, Device >::ProjectionCache::structural_coefficients {ct::DataType::DT_COMPLEX_DOUBLE, ct::DeviceType::CpuDevice, {0}}

The documentation for this struct was generated from the following files: