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

Function philox

src/backend/oneapi/kernel/random_engine_philox.hpp:84–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84static inline void philox(uint key[2], uint ctr[4]) {
85 // 10 Rounds
86 philoxRound(m4x32_0, m4x32_1, key, ctr);
87 philoxBump(key);
88 philoxRound(m4x32_0, m4x32_1, key, ctr);
89 philoxBump(key);
90 philoxRound(m4x32_0, m4x32_1, key, ctr);
91 philoxBump(key);
92 philoxRound(m4x32_0, m4x32_1, key, ctr);
93 philoxBump(key);
94 philoxRound(m4x32_0, m4x32_1, key, ctr);
95 philoxBump(key);
96 philoxRound(m4x32_0, m4x32_1, key, ctr);
97 philoxBump(key);
98 philoxRound(m4x32_0, m4x32_1, key, ctr);
99 philoxBump(key);
100 philoxRound(m4x32_0, m4x32_1, key, ctr);
101 philoxBump(key);
102 philoxRound(m4x32_0, m4x32_1, key, ctr);
103 philoxBump(key);
104 philoxRound(m4x32_0, m4x32_1, key, ctr);
105}
106
107template<typename T>
108class uniformPhilox {

Callers 2

operator()Method · 0.70
operator()Method · 0.70

Calls 2

philoxRoundFunction · 0.70
philoxBumpFunction · 0.70

Tested by

no test coverage detected