MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / initMersenneState

Function initMersenneState

src/backend/cpu/random_engine.cpp:19–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17namespace arrayfire {
18namespace cpu {
19void initMersenneState(Array<uint> &state, const uintl seed,
20 const Array<uint> &tbl) {
21 getQueue().enqueue(kernel::initMersenneState, state.get(), tbl.get(), seed);
22}
23
24template<typename T>
25Array<T> uniformDistribution(const af::dim4 &dims,

Callers 3

af_create_random_engineFunction · 0.50

Calls 3

getQueueFunction · 0.50
enqueueMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected