| 72 | } |
| 73 | |
| 74 | void OpenCLImpulseResponse::copyDeviceToHost() |
| 75 | { |
| 76 | for (auto i = 0; i < numChannels(); ++i) |
| 77 | { |
| 78 | clEnqueueReadBuffer(mOpenCL->irUpdateQueue(), mChannelBuffers[i], CL_TRUE, 0, mSize, |
| 79 | &mData.flatData()[i * numSamples()], 0, nullptr, nullptr); |
| 80 | } |
| 81 | } |
| 82 | |
| 83 | void OpenCLImpulseResponse::copyHostToDevice() |
| 84 | { |
nothing calls this directly
no test coverage detected