Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
61
constexpr uint w32_1 = 0xBB67AE85;
62
63
static inline void mulhilo(uint a, uint b, uint& hi, uint& lo) {
64
hi = sycl::mul_hi(a, b);
65
lo = a * b;
66
}
67
68
static inline void philoxBump(uint k[2]) {
69
k[0] += w32_0;
Callers
1
philoxRound
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected