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

Function setSkeinParity

src/backend/cuda/kernel/random_engine_threefry.hpp:67–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65static const uint R7 = 24;
66
67static inline __device__ void setSkeinParity(uint *ptr) {
68 *ptr = SKEIN_KS_PARITY32;
69}
70
71static inline __device__ uint rotL(uint x, uint N) {
72 return (x << (N & 31)) | (x >> ((32 - N) & 31));

Callers 1

threefryFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected