alpaka
Abstraction Library for Parallel Kernel Acceleration
alpaka::rand::engine::PhiloxParams< TCounterSize, TWidth, TRounds > Struct Template Reference

#include <PhiloxStateless.hpp>

Static Public Attributes

static constexpr unsigned counterSize = TCounterSize
 
static constexpr unsigned rounds = TRounds
 
static constexpr unsigned width = TWidth
 

Detailed Description

template<unsigned TCounterSize, unsigned TWidth, unsigned TRounds>
struct alpaka::rand::engine::PhiloxParams< TCounterSize, TWidth, TRounds >

Philox algorithm parameters

Template Parameters
TCounterSizenumber of elements in the counter
TWidthwidth of one counter element (in bits)
TRoundsnumber of S-box rounds

Definition at line 23 of file PhiloxStateless.hpp.

Member Data Documentation

◆ counterSize

template<unsigned TCounterSize, unsigned TWidth, unsigned TRounds>
constexpr unsigned alpaka::rand::engine::PhiloxParams< TCounterSize, TWidth, TRounds >::counterSize = TCounterSize
staticconstexpr

Definition at line 25 of file PhiloxStateless.hpp.

◆ rounds

template<unsigned TCounterSize, unsigned TWidth, unsigned TRounds>
constexpr unsigned alpaka::rand::engine::PhiloxParams< TCounterSize, TWidth, TRounds >::rounds = TRounds
staticconstexpr

Definition at line 27 of file PhiloxStateless.hpp.

◆ width

template<unsigned TCounterSize, unsigned TWidth, unsigned TRounds>
constexpr unsigned alpaka::rand::engine::PhiloxParams< TCounterSize, TWidth, TRounds >::width = TWidth
staticconstexpr

Definition at line 26 of file PhiloxStateless.hpp.


The documentation for this struct was generated from the following file: