MCPcopy Create free account
hub / github.com/RenderKit/oidn / submitBarrier

Method submitBarrier

devices/sycl/sycl_engine.cpp:213–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211 }
212
213 void SYCLEngine::submitBarrier()
214 {
215 lastEvent = syclQueue.submit([&](sycl::handler& cgh) {
216 cgh.depends_on(getDepEvents()),
217 //cgh.ext_oneapi_barrier(); // FIXME: hangs, workaround: SYCL_PI_LEVEL_ZERO_USE_MULTIPLE_COMMANDLIST_BARRIERS=0
218 cgh.single_task([](){}); // FIXME: should switch to ext_oneapi_barrier when it gets fixed
219 });
220 }
221
222 void SYCLEngine::wait()
223 {

Callers

nothing calls this directly

Calls 1

submitMethod · 0.45

Tested by

no test coverage detected