![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Provides functions to compute the sum of dot products of elements in a device buffer with themselves. More...
Include dependency graph for dot_sum.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Namespaces | |
| namespace | shamalgs |
| namespace to contain everything implemented by shamalgs | |
| namespace | shamalgs::primitives |
| namespace for primitive algorithm (e.g. sort, scan, reductions, ...) | |
Functions | |
| template<class T > | |
| shambase::VecComponent< T > | shamalgs::primitives::dot_sum (sham::DeviceBuffer< T > &buf1, u32 start_id, u32 end_id) |
| Compute the sum of dot products of elements in a device buffer with themselves. | |
| template<class T > | |
| shambase::VecComponent< T > | shamalgs::primitives::dot_sum (sham::DeviceBuffer< T > &buf1) |
Provides functions to compute the sum of dot products of elements in a device buffer with themselves.
Definition in file dot_sum.hpp.