![]() |
Shamrock 2025.10.0
Astrophysical Code
|
#include "shamalgs/details/numeric/numericFallback.hpp"#include "shamalgs/memory.hpp"#include "shambackends/DeviceBuffer.hpp"#include <numeric>
Include dependency graph for numericFallback.cpp:Go to the source code of this file.
Namespaces | |
| namespace | shamalgs |
| namespace to contain everything implemented by shamalgs | |
| namespace | shamalgs::numeric |
| namespace containing the numeric algorithms of shamalgs | |
Functions | |
| template<class T > | |
| sycl::buffer< T > | shamalgs::numeric::details::exclusive_sum_fallback (sycl::queue &q, sycl::buffer< T > &buf1, u32 len) |
| Exclusive sum fallback on SYCL buffer. | |
| template<class T > | |
| sham::DeviceBuffer< T > | shamalgs::numeric::details::exclusive_sum_fallback_usm (const sham::DeviceScheduler_ptr &sched, sham::DeviceBuffer< T > &buf1, u32 len) |
| Exclusive sum fallback on USM. | |
| template<class T > | |
| sycl::buffer< T > | shamalgs::numeric::details::inclusive_sum_fallback (sycl::queue &q, sycl::buffer< T > &buf1, u32 len) |
| template<class T > | |
| void | shamalgs::numeric::details::exclusive_sum_in_place_fallback (sycl::queue &q, sycl::buffer< T > &buf, u32 len) |
| template<class T > | |
| void | shamalgs::numeric::details::inclusive_sum_in_place_fallback (sycl::queue &q, sycl::buffer< T > &buf, u32 len) |
| template sycl::buffer< u32 > | shamalgs::numeric::details::inclusive_sum_fallback (sycl::queue &q, sycl::buffer< u32 > &buf1, u32 len) |
| template sham::DeviceBuffer< u32 > | shamalgs::numeric::details::exclusive_sum_fallback_usm (const sham::DeviceScheduler_ptr &sched, sham::DeviceBuffer< u32 > &buf1, u32 len) |
| template sycl::buffer< u32 > | shamalgs::numeric::details::exclusive_sum_fallback (sycl::queue &q, sycl::buffer< u32 > &buf1, u32 len) |
| template void | shamalgs::numeric::details::exclusive_sum_in_place_fallback (sycl::queue &q, sycl::buffer< u32 > &buf1, u32 len) |
| template void | shamalgs::numeric::details::inclusive_sum_in_place_fallback (sycl::queue &q, sycl::buffer< u32 > &buf1, u32 len) |
| std::tuple< std::optional< sycl::buffer< u32 > >, u32 > | shamalgs::numeric::details::stream_compact_fallback (sycl::queue &q, sycl::buffer< u32 > &buf_flags, u32 len) |
| Stream compaction algorithm on fallback. | |
| sham::DeviceBuffer< u32 > | shamalgs::numeric::details::stream_compact_fallback (const sham::DeviceScheduler_ptr &sched, sham::DeviceBuffer< u32 > &buf_flags, u32 len) |
| Stream compaction algorithm. | |
Definition in file numericFallback.cpp.
| sycl::buffer< T > shamalgs::numeric::details::exclusive_sum_fallback | ( | sycl::queue & | q, |
| sycl::buffer< T > & | buf1, | ||
| u32 | len | ||
| ) |
Exclusive sum fallback on SYCL buffer.
| q | The queue to use for the fallback |
| buf1 | The buffer to sum |
| len | The length of the sum |
Definition at line 26 of file numericFallback.cpp.
Here is the call graph for this function:| sham::DeviceBuffer< T > shamalgs::numeric::details::exclusive_sum_fallback_usm | ( | const sham::DeviceScheduler_ptr & | sched, |
| sham::DeviceBuffer< T > & | buf1, | ||
| u32 | len | ||
| ) |
Exclusive sum fallback on USM.
| sched | The scheduler for this fallback |
| buf1 | The buffer to sum |
| len | The length of the sum |
Definition at line 47 of file numericFallback.cpp.
Here is the call graph for this function:| void shamalgs::numeric::details::exclusive_sum_in_place_fallback | ( | sycl::queue & | q, |
| sycl::buffer< T > & | buf, | ||
| u32 | len | ||
| ) |
Definition at line 83 of file numericFallback.cpp.
| sycl::buffer< T > shamalgs::numeric::details::inclusive_sum_fallback | ( | sycl::queue & | q, |
| sycl::buffer< T > & | buf1, | ||
| u32 | len | ||
| ) |
Definition at line 62 of file numericFallback.cpp.
| void shamalgs::numeric::details::inclusive_sum_in_place_fallback | ( | sycl::queue & | q, |
| sycl::buffer< T > & | buf, | ||
| u32 | len | ||
| ) |
Definition at line 102 of file numericFallback.cpp.
| sham::DeviceBuffer< u32 > shamalgs::numeric::details::stream_compact_fallback | ( | const sham::DeviceScheduler_ptr & | sched, |
| sham::DeviceBuffer< u32 > & | buf_flags, | ||
| u32 | len | ||
| ) |
Stream compaction algorithm.
| sched | the scheduler to run on |
| buf_flags | buffer of only 0 and ones |
| len | the length of the buffer considered |
Definition at line 153 of file numericFallback.cpp.
Here is the call graph for this function:| std::tuple< std::optional< sycl::buffer< u32 > >, u32 > shamalgs::numeric::details::stream_compact_fallback | ( | sycl::queue & | q, |
| sycl::buffer< u32 > & | buf_flags, | ||
| u32 | len | ||
| ) |
Stream compaction algorithm on fallback.
| q | the queue to run on |
| buf_flags | buffer of only 0 and ones |
| len | the length of the buffer considered |
Definition at line 130 of file numericFallback.cpp.
Here is the call graph for this function: