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

Function read_table

src/backend/oneapi/kernel/random_engine_mersenne.hpp:60–64  ·  view source on GitHub ↗

Utils

Source from the content-addressed store, hash-verified

58
59// Utils
60static inline void read_table(uint *const sharedTable, const uint *const table,
61 size_t groupId, size_t localId) {
62 const uint *const t = table + (groupId * TABLE_SIZE);
63 if (localId < TABLE_SIZE) { sharedTable[localId] = t[localId]; }
64}
65
66static inline void state_read(uint *const state, const uint *const gState,
67 size_t groupRange, size_t groupId,

Callers 2

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

Calls

no outgoing calls

Tested by

no test coverage detected