/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/develop/include/ck/utility/random_gen.hpp File Reference

/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/develop/include/ck/utility/random_gen.hpp File Reference#

Composable Kernel: /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/develop/include/ck/utility/random_gen.hpp File Reference
random_gen.hpp File Reference
#include <ck/utility/ignore.hpp>
#include "ck/ck.hpp"

Go to the source code of this file.

Namespaces

 ck
 

Functions

template<typename T , uint32_t seed_t, ck::enable_if_t< std::is_same< float, T >{}, bool > = false>
__host__ __device__ uint32_t ck::prand_generator (index_t id, T val, uint32_t seed=seed_t)
 
template<typename T , uint32_t seed_t, ck::enable_if_t<!(std::is_same< float, T >{}||std::is_same< _Float16, T >{}), bool > = false>
__host__ __device__ uint32_t ck::prand_generator (int id, T val, uint32_t seed=seed_t)