MCPcopy Create free account
hub / github.com/blender/cycles / queue_synchronize

Method queue_synchronize

src/device/oneapi/device_impl.cpp:1208–1220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1206}
1207
1208bool OneapiDevice::queue_synchronize(SyclQueue *queue_)
1209{
1210 assert(queue_);
1211 sycl::queue *queue = reinterpret_cast<sycl::queue *>(queue_);
1212 try {
1213 queue->wait_and_throw();
1214 return true;
1215 }
1216 catch (const sycl::exception &e) {
1217 oneapi_error_string_ = e.what();
1218 return false;
1219 }
1220}
1221
1222bool OneapiDevice::kernel_globals_size(size_t &kernel_global_size)
1223{

Callers 1

synchronizeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected