Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
fallbackReduction.hpp File Reference
#include "shambase/numeric_limits.hpp"
#include "shambackends/math.hpp"
#include "shambackends/sycl.hpp"
+ Include dependency graph for fallbackReduction.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  shamalgs::reduction::details::FallbackReduction< T >
 

Namespaces

namespace  shamalgs
 namespace to contain everything implemented by shamalgs
 

Functions

template<class T >
shamalgs::reduction::details::_int_sum (sycl::queue &q, sycl::buffer< T > &buf1, u32 start_id, u32 end_id)
 
template<class T >
shamalgs::reduction::details::_int_min (sycl::queue &q, sycl::buffer< T > &buf1, u32 start_id, u32 end_id)
 
template<class T >
shamalgs::reduction::details::_int_max (sycl::queue &q, sycl::buffer< T > &buf1, u32 start_id, u32 end_id)
 

Detailed Description

Author
Léodasce Sewanou (leoda.nosp@m.sce..nosp@m.sewan.nosp@m.ou@e.nosp@m.ns-ly.nosp@m.on.f.nosp@m.r)
Timothée David–Cléris (tim.s.nosp@m.hamr.nosp@m.ock@p.nosp@m.roto.nosp@m.n.me)

Definition in file fallbackReduction.hpp.

Function Documentation

◆ _int_max()

template<class T >
T shamalgs::reduction::details::_int_max ( sycl::queue &  q,
sycl::buffer< T > &  buf1,
u32  start_id,
u32  end_id 
)
inline

Definition at line 75 of file fallbackReduction.hpp.

◆ _int_min()

template<class T >
T shamalgs::reduction::details::_int_min ( sycl::queue &  q,
sycl::buffer< T > &  buf1,
u32  start_id,
u32  end_id 
)
inline

Definition at line 56 of file fallbackReduction.hpp.

◆ _int_sum()

template<class T >
T shamalgs::reduction::details::_int_sum ( sycl::queue &  q,
sycl::buffer< T > &  buf1,
u32  start_id,
u32  end_id 
)
inline

Definition at line 37 of file fallbackReduction.hpp.