MCPcopy Create free account
hub / github.com/ValveSoftware/steam-audio / copyHostToDevice

Method copyHostToDevice

core/src/core/opencl_impulse_response.cpp:83–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83void OpenCLImpulseResponse::copyHostToDevice()
84{
85 for (auto i = 0; i < numChannels(); ++i)
86 {
87 clEnqueueWriteBuffer(mOpenCL->irUpdateQueue(), mChannelBuffers[i], CL_TRUE, 0, mSize,
88 &mData.flatData()[i * numSamples()], 0, nullptr, nullptr);
89 }
90}
91
92}
93

Callers

nothing calls this directly

Calls 2

irUpdateQueueMethod · 0.80
flatDataMethod · 0.45

Tested by

no test coverage detected