MCPcopy Create free account
hub / github.com/LuxCoreRender/LuxCore / GetQueueSize

Method GetQueueSize

src/luxrays/idevices/openclidevice.cpp:206–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204}
205
206size_t OpenCLIntersectionDevice::GetQueueSize() {
207 if (started) {
208 size_t count = 0;
209 BOOST_FOREACH(OpenCLDeviceQueue *oclQueue, oclQueues)
210 count += oclQueue->pendingRayBuffers;
211
212 return count;
213 } else
214 return 0;
215}
216
217void OpenCLIntersectionDevice::PushRayBuffer(RayBuffer *rayBuffer, const u_int queueIndex) {
218 assert (started);

Callers 1

PushRayBufferMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected