Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Namespaces | Functions
reduction.hpp File Reference
#include "shambase/aliases_int.hpp"
#include "shambase/exception.hpp"
#include "shambase/memory.hpp"
#include "shamalgs/primitives/is_all_true.hpp"
#include "shambackends/DeviceBuffer.hpp"
#include "shambackends/DeviceQueue.hpp"
#include "shambackends/DeviceScheduler.hpp"
#include "shambackends/math.hpp"
#include "shambackends/sycl.hpp"
#include "shambackends/vec.hpp"
+ Include dependency graph for reduction.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
 

Functions

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)
 

Detailed Description

Author
Timothée David–Cléris (tim.s.nosp@m.hamr.nosp@m.ock@p.nosp@m.roto.nosp@m.n.me)

Definition in file reduction.hpp.

Function Documentation

◆ has_inf()

template<class T >
bool shamalgs::reduction::has_inf ( sycl::queue &  q,
sycl::buffer< T > &  buf,
u64  cnt 
)

Definition at line 95 of file reduction.cpp.

◆ has_nan()

template<class T >
bool shamalgs::reduction::has_nan ( sycl::queue &  q,
sycl::buffer< T > &  buf,
u64  cnt 
)

Definition at line 74 of file reduction.cpp.

◆ has_nan_or_inf()

template<class T >
bool shamalgs::reduction::has_nan_or_inf ( sycl::queue &  q,
sycl::buffer< T > &  buf,
u64  cnt 
)

Definition at line 116 of file reduction.cpp.