Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Namespaces | Functions
sycl_builtins.hpp File Reference
#include "shambase/integer.hpp"
#include "shambase/vectors.hpp"
#include "shambackends/math.hpp"
#include "shambackends/sycl.hpp"
#include "shambackends/vec.hpp"
+ Include dependency graph for sycl_builtins.hpp:

Go to the source code of this file.

Namespaces

namespace  shambase
 namespace for basic c++ utilities
 

Functions

template<class T , int n, std::enable_if_t< std::is_integral_v< T >, int > = 0>
i32 shambase::any (sycl::vec< T, n > v)
 Fallback function for sycl::any SYCL std : Returns 1 if the most significant bit in any component of x is set; otherwise returns 0. if it is something else than the most significant bit it is UB.
 

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 sycl_builtins.hpp.