OpenMPCD
Public Member Functions | List of all members
OpenMPCD::CUDA::Random::Generators::Philox4x32_10 Class Reference

Philox4x32-10 [18] counter-bases PRNG. More...

#include <Philox4x32-10.hpp>

Public Member Functions

OPENMPCD_CUDA_DEVICE Philox4x32_10 (const unsigned long long seed, const unsigned long long subsequence)
 The constructor. More...
 
OPENMPCD_CUDA_DEVICE curandStatePhilox4_32_10_t * getState ()
 Returns a pointer to the internal cuRAND state. More...
 

Detailed Description

Philox4x32-10 [18] counter-bases PRNG.

This class is compatible with the Philox4x32-10 PRNG as implemented in the cuRAND library.

Definition at line 30 of file Philox4x32-10.hpp.

Constructor & Destructor Documentation

◆ Philox4x32_10()

OPENMPCD_CUDA_DEVICE OpenMPCD::CUDA::Random::Generators::Philox4x32_10::Philox4x32_10 ( const unsigned long long  seed,
const unsigned long long  subsequence 
)
inline

The constructor.

Parameters
[in]seedThe seed.
[in]subsequenceThe subsequence number.

Definition at line 40 of file Philox4x32-10.hpp.

Member Function Documentation

◆ getState()

OPENMPCD_CUDA_DEVICE curandStatePhilox4_32_10_t* OpenMPCD::CUDA::Random::Generators::Philox4x32_10::getState ( )
inline

Returns a pointer to the internal cuRAND state.

Definition at line 52 of file Philox4x32-10.hpp.


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