flags to make the memory transfer direction visually distinct
| 486 | |
| 487 | // flags to make the memory transfer direction visually distinct |
| 488 | enum CopyDirection { |
| 489 | TO_HOST, |
| 490 | TO_DEVICE |
| 491 | }; |
| 492 | |
| 493 | |
| 494 | void copyArrayIfGpuCompiled(qcomp* cpuArr, qcomp* gpuArr, qindex numElems, enum CopyDirection direction) { |
nothing calls this directly
no outgoing calls
no test coverage detected