![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Implements functions to check if all elements in a buffer are non-zero (true). More...
#include "shamalgs/primitives/is_all_true.hpp"#include "shambase/StlContainerConversion.hpp"#include "shambase/memory.hpp"#include "shamalgs/primitives/reduction.hpp"#include "shambackends/kernel_call.hpp"
Include dependency graph for is_all_true.cpp:Go to the source code of this file.
Namespaces | |
| namespace | shamalgs |
| namespace to contain everything implemented by shamalgs | |
| namespace | shamalgs::primitives |
| namespace for primitive algorithm (e.g. sort, scan, reductions, ...) | |
Enumerations | |
| enum class | IS_ALL_TRUE_IMPL : u32 { HOST , SUM_REDUCTION } |
Functions | |
| IS_ALL_TRUE_IMPL | shamalgs::primitives::is_all_true_impl_from_params (const std::string &impl) |
| shamalgs::impl_param | shamalgs::primitives::is_all_true_impl_to_params (const IS_ALL_TRUE_IMPL &impl) |
| template<class T > | |
| bool | shamalgs::primitives::is_all_true (sham::DeviceBuffer< T > &buf, u32 cnt) |
| Check if all elements in a sham::DeviceBuffer are non-zero. | |
| template bool | shamalgs::primitives::is_all_true (sham::DeviceBuffer< u8 > &buf, u32 cnt) |
Variables | |
| IS_ALL_TRUE_IMPL | shamalgs::primitives::is_all_true_impl = IS_ALL_TRUE_IMPL::HOST |
Implements functions to check if all elements in a buffer are non-zero (true).
Definition in file is_all_true.cpp.