|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
Functions | |
| template<typename T> | |
| ct::Tensor | host_tensor (const int64_t count, const T value) |
| Allocate and fill a host Tensor for small projected matrices or scalar work arrays. | |
| template<typename T, typename U> | |
| ct::Tensor | host_tensor_cast_or_view (U *input, const int64_t count) |
| Borrow host storage when types match; otherwise own a converted copy. The view must not outlive input. | |
| ct::Tensor hsolver::lobpcg_internal::host_tensor | ( | const int64_t | count, |
| const T | value ) |
Allocate and fill a host Tensor for small projected matrices or scalar work arrays.
| ct::Tensor hsolver::lobpcg_internal::host_tensor_cast_or_view | ( | U * | input, |
| const int64_t | count ) |
Borrow host storage when types match; otherwise own a converted copy. The view must not outlive input.