philox Class Reference

philox Class Reference#

Composable Kernel: ck_tile::philox Class Reference
ck_tile::philox Class Reference

#include <philox_rand.hpp>

Public Member Functions

CK_TILE_HOST_DEVICE philox (unsigned long long seed_, unsigned long long offset_)
 
CK_TILE_HOST_DEVICE uint4 get_philox_4x32 (const unsigned long long subsequence) const
 
CK_TILE_HOST_DEVICE void get_random_16x8 (uint8_t *out, const unsigned long long subsequence) const
 
CK_TILE_HOST_DEVICE void get_random_8x8 (uint8_t *out, const unsigned long long subsequence, const index_t start_idx) const
 
CK_TILE_HOST_DEVICE void get_random_4x8 (uint8_t *out, const unsigned long long subsequence, const index_t start_idx) const
 

Constructor & Destructor Documentation

◆ philox()

CK_TILE_HOST_DEVICE ck_tile::philox::philox ( unsigned long long  seed_,
unsigned long long  offset_ 
)
inline

Member Function Documentation

◆ get_philox_4x32()

CK_TILE_HOST_DEVICE uint4 ck_tile::philox::get_philox_4x32 ( const unsigned long long  subsequence) const
inline

◆ get_random_16x8()

CK_TILE_HOST_DEVICE void ck_tile::philox::get_random_16x8 ( uint8_t *  out,
const unsigned long long  subsequence 
) const
inline

◆ get_random_4x8()

CK_TILE_HOST_DEVICE void ck_tile::philox::get_random_4x8 ( uint8_t *  out,
const unsigned long long  subsequence,
const index_t  start_idx 
) const
inline

◆ get_random_8x8()

CK_TILE_HOST_DEVICE void ck_tile::philox::get_random_8x8 ( uint8_t *  out,
const unsigned long long  subsequence,
const index_t  start_idx 
) const
inline

The documentation for this class was generated from the following file:
  • /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/docs-6.4.3/include/ck_tile/core/utility/philox_rand.hpp