(an_array)
| 26 | |
| 27 | @cuda.jit |
| 28 | def increment_by_one(an_array): |
| 29 | pos = cuda.grid(1) |
| 30 | if pos < an_array.size: |
| 31 | an_array[pos] += 1 |
| 32 | |
| 33 | threadsperblock = 32 |
| 34 | blockspergrid = (x.size + (threadsperblock - 1)) |
nothing calls this directly
no outgoing calls
no test coverage detected