Utils
| 58 | |
| 59 | // Utils |
| 60 | static 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 | |
| 66 | static inline void state_read(uint *const state, const uint *const gState, |
| 67 | size_t groupRange, size_t groupId, |
no outgoing calls
no test coverage detected