Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
reduction.hpp File Reference
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.