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

Function mulhilo

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

Source from the content-addressed store, hash-verified

61constexpr uint w32_1 = 0xBB67AE85;
62
63static inline void mulhilo(uint a, uint b, uint& hi, uint& lo) {
64 hi = sycl::mul_hi(a, b);
65 lo = a * b;
66}
67
68static inline void philoxBump(uint k[2]) {
69 k[0] += w32_0;

Callers 1

philoxRoundFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected