Go to the documentation of this file.
18 #ifndef viskores_cont_ArrayHandleRandomUniformBits_h
19 #define viskores_cont_ArrayHandleRandomUniformBits_h
36 PhiloxFunctor() =
default;
38 explicit PhiloxFunctor(SeedType seed)
47 using counters_type =
typename philox_functor::counters_type;
52 counters_type result = philox_functor{}(counters, Seed);
98 SeedType seed = { std::random_device{}() })
99 : Superclass(detail::PhiloxFunctor(seed), length)
117 #endif //viskores_cont_ArrayHandleRandomUniformBits_h
#define VISKORES_ARRAY_HANDLE_SUBCLASS_NT(classname, superclass)
Macro to make default methods in ArrayHandle subclasses.
Definition: ArrayHandle.h:279
#define VISKORES_EXEC_CONT
Definition: ExportMacros.h:60
detail::philox_functor< viskores::UInt32, 2, 10, 0xD256D193, 0x9E3779B9 > PhiloxFunctor2x32x10
Definition: Philox.h:130
viskores::Int64 Id
Base type to use to index arrays.
Definition: Types.h:235
Groups connected points that have the same field value.
Definition: Atomic.h:27
unsigned long long UInt64
Base type to use for 64-bit signed integer numbers.
Definition: Types.h:215
An ArrayHandle that computes values on the fly.
Definition: ArrayHandleImplicit.h:186
A short fixed-length array.
Definition: Types.h:365
uint32_t UInt32
Base type to use for 32-bit unsigned integer numbers.
Definition: Types.h:193