![]() |
Shamrock 2025.10.0
Astrophysical Code
|
#include "shamalgs/details/reduction/reduction.hpp"#include "shambase/floats.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 "shambackends/math.hpp"#include "shambackends/vec.hpp"
Include dependency graph for reduction.cpp: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) |
| bool | shamalgs::reduction::is_all_true (sycl::buffer< u8 > &buf, u32 cnt) |
| template<class T > | |
| bool | shamalgs::reduction::has_nan (sycl::queue &q, sycl::buffer< T > &buf, u64 cnt) |
| template<class T > | |
| bool | shamalgs::reduction::has_inf (sycl::queue &q, sycl::buffer< T > &buf, u64 cnt) |
| template<class T > | |
| bool | shamalgs::reduction::has_nan_or_inf (sycl::queue &q, sycl::buffer< T > &buf, u64 cnt) |
Definition in file reduction.cpp.
| bool shamalgs::reduction::has_inf | ( | sycl::queue & | q, |
| sycl::buffer< T > & | buf, | ||
| u64 | cnt | ||
| ) |
Definition at line 95 of file reduction.cpp.
| bool shamalgs::reduction::has_nan | ( | sycl::queue & | q, |
| sycl::buffer< T > & | buf, | ||
| u64 | cnt | ||
| ) |
Definition at line 74 of file reduction.cpp.
| bool shamalgs::reduction::has_nan_or_inf | ( | sycl::queue & | q, |
| sycl::buffer< T > & | buf, | ||
| u64 | cnt | ||
| ) |
Definition at line 116 of file reduction.cpp.
Definition at line 57 of file reduction.cpp.
| T shamalgs::reduction::max | ( | sycl::queue & | q, |
| sycl::buffer< T > & | buf1, | ||
| u32 | start_id, | ||
| u32 | end_id | ||
| ) |
Definition at line 40 of file reduction.cpp.
| T shamalgs::reduction::min | ( | sycl::queue & | q, |
| sycl::buffer< T > & | buf1, | ||
| u32 | start_id, | ||
| u32 | end_id | ||
| ) |
Definition at line 49 of file reduction.cpp.
| T shamalgs::reduction::sum | ( | sycl::queue & | q, |
| sycl::buffer< T > & | buf1, | ||
| u32 | start_id, | ||
| u32 | end_id | ||
| ) |
Definition at line 31 of file reduction.cpp.