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

Function rotL

src/backend/oneapi/kernel/random_engine_threefry.hpp:71–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69static inline void setSkeinParity(uint* ptr) { *ptr = SKEIN_KS_PARITY32; }
70
71static inline uint rotL(uint x, uint N) {
72 return (x << (N & 31)) | (x >> ((32 - N) & 31));
73}
74
75void threefry(uint k[2], uint c[2], uint X[2]) {
76 uint ks[3];

Callers 1

threefryFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected