| 204 | } |
| 205 | |
| 206 | uint32_t CudaKeySearchDevice::getPrivateKeyOffset(int thread, int block, int idx) |
| 207 | { |
| 208 | // Total number of threads |
| 209 | int totalThreads = _blocks * _threads; |
| 210 | |
| 211 | int base = idx * totalThreads; |
| 212 | |
| 213 | // Global ID of the current thread |
| 214 | int threadId = block * _threads + thread; |
| 215 | |
| 216 | return base + threadId; |
| 217 | } |
| 218 | |
| 219 | void CudaKeySearchDevice::getResultsInternal() |
| 220 | { |
nothing calls this directly
no outgoing calls
no test coverage detected