alpaka
Abstraction Library for Parallel Kernel Acceleration
Loading...
Searching...
No Matches
alpaka::rand::distribution::internal::BitLengthConformityAdapter< T_Engine, byteLengthEngineResult, byteLengthRealType > Struct Template Reference

Adapt the bit length of the engine output to match the target type. More...

#include <UniformReal.hpp>

Public Member Functions

constexpr auto operator() (T_Engine &engine)

Detailed Description

template<typename T_Engine, uint32_t byteLengthEngineResult, uint32_t byteLengthRealType>
struct alpaka::rand::distribution::internal::BitLengthConformityAdapter< T_Engine, byteLengthEngineResult, byteLengthRealType >

Adapt the bit length of the engine output to match the target type.

This is the default case where the engine result type already matches and thus the engine is simply invoked.

Definition at line 123 of file UniformReal.hpp.

Member Function Documentation

◆ operator()()

template<typename T_Engine, uint32_t byteLengthEngineResult, uint32_t byteLengthRealType>
auto alpaka::rand::distribution::internal::BitLengthConformityAdapter< T_Engine, byteLengthEngineResult, byteLengthRealType >::operator() ( T_Engine & engine)
inlineconstexpr

Definition at line 137 of file UniformReal.hpp.


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