| 69 | } |
| 70 | |
| 71 | static inline __device__ void state_write(uint *const gState, |
| 72 | const uint *const state) { |
| 73 | uint *const g = gState + (blockIdx.x * N); |
| 74 | g[threadIdx.x] = state[STATE_SIZE - N + threadIdx.x]; |
| 75 | if (threadIdx.x < N - blockDim.x) { |
| 76 | g[blockDim.x + threadIdx.x] = |
| 77 | state[STATE_SIZE - N + blockDim.x + threadIdx.x]; |
| 78 | } |
| 79 | } |
| 80 | |
| 81 | static inline __device__ uint recursion(const uint *const recursion_table, |
| 82 | const uint mask, const uint sh1, |
no outgoing calls
no test coverage detected