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

Method synchronize

src/device/oneapi/queue.cpp:114–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114bool OneapiDeviceQueue::synchronize()
115{
116 if (oneapi_device_->have_error()) {
117 return false;
118 }
119
120 bool is_finished_ok = oneapi_device_->queue_synchronize(oneapi_device_->sycl_queue());
121 if (is_finished_ok == false) {
122 oneapi_device_->set_error("oneAPI unknown kernel execution error: got runtime exception \"" +
123 oneapi_device_->oneapi_error_message() + "\"");
124 }
125
126 debug_synchronize();
127
128 return !(oneapi_device_->have_error());
129}
130
131void OneapiDeviceQueue::zero_to_device(device_memory &mem)
132{

Callers 1

Calls 5

have_errorMethod · 0.80
queue_synchronizeMethod · 0.80
sycl_queueMethod · 0.80
oneapi_error_messageMethod · 0.80
set_errorMethod · 0.45

Tested by

no test coverage detected