![]() |
Shamrock 2025.10.0
Astrophysical Code
|
#include "shamalgs/details/reduction/reduction.hpp"#include "shambase/floats.hpp"#include "shambase/memory.hpp"#include "shamalgs/details/reduction/fallbackReduction.hpp"#include "shamalgs/details/reduction/fallbackReduction_usm.hpp"#include "shamalgs/details/reduction/groupReduction.hpp"#include "shamalgs/details/reduction/groupReduction_usm.hpp"#include "shamalgs/details/reduction/sycl2020reduction.hpp"#include "shamalgs/memory.hpp"#include "shamalgs/primitives/is_all_true.hpp"#include "shambackends/kernel_call.hpp"#include "shambackends/math.hpp"#include "shambackends/vec.hpp"Go to the source code of this file.
Namespaces | |
| namespace | shamalgs |
| namespace to contain everything implemented by shamalgs | |
Functions | |
| template<class T> | |
| T | shamalgs::reduction::sum (sycl::queue &q, sycl::buffer< T > &buf1, u32 start_id, u32 end_id) |
| template<class T> | |
| T | shamalgs::reduction::max (sycl::queue &q, sycl::buffer< T > &buf1, u32 start_id, u32 end_id) |
| template<class T> | |
| T | shamalgs::reduction::min (sycl::queue &q, sycl::buffer< T > &buf1, u32 start_id, u32 end_id) |
| template<class T> | |
| bool | shamalgs::reduction::has_nan (sham::DeviceBuffer< T > &buf, u64 cnt) |
| template<class T> | |
| bool | shamalgs::reduction::has_inf (sham::DeviceBuffer< T > &buf, u64 cnt) |
| template<class T> | |
| bool | shamalgs::reduction::has_nan_or_inf (sham::DeviceBuffer< T > &buf, u64 cnt) |
Definition in file reduction.cpp.
| bool shamalgs::reduction::has_inf | ( | sham::DeviceBuffer< T > & | buf, |
| u64 | cnt ) |
Definition at line 84 of file reduction.cpp.
| bool shamalgs::reduction::has_nan | ( | sham::DeviceBuffer< T > & | buf, |
| u64 | cnt ) |
Definition at line 61 of file reduction.cpp.
| bool shamalgs::reduction::has_nan_or_inf | ( | sham::DeviceBuffer< T > & | buf, |
| u64 | cnt ) |
Definition at line 107 of file reduction.cpp.
| T shamalgs::reduction::max | ( | sycl::queue & | q, |
| sycl::buffer< T > & | buf1, | ||
| u32 | start_id, | ||
| u32 | end_id ) |
Definition at line 43 of file reduction.cpp.
| T shamalgs::reduction::min | ( | sycl::queue & | q, |
| sycl::buffer< T > & | buf1, | ||
| u32 | start_id, | ||
| u32 | end_id ) |
Definition at line 52 of file reduction.cpp.
| T shamalgs::reduction::sum | ( | sycl::queue & | q, |
| sycl::buffer< T > & | buf1, | ||
| u32 | start_id, | ||
| u32 | end_id ) |
Definition at line 34 of file reduction.cpp.