MCPcopy Create free account
hub / github.com/alicevision/AliceVision / constructQueue

Function constructQueue

src/aliceVision/depthMap_sycl/depthMapUtils.cpp:23–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21namespace depthMap_sycl {
22
23sycl::queue constructQueue(const sycl::device& device) {
24 static auto async_handler_object = [] (sycl::exception_list exceptions) {
25 for (auto e : exceptions) {
26 try {
27 std::rethrow_exception(e);
28 } catch (sycl::exception const &e) {
29 ALICEVISION_LOG_WARNING("Caught asynchronous SYCL exception " << e.code() << ": \""
30 << e.what() << "\" Warning: Only allocation faliures due to running out of memory will dealt with!");
31 }
32 }
33 };
34 return sycl::queue(device, async_handler_object, {sycl::property::queue::in_order()});
35};
36
37void copyFloat2Map(image::Image<float>& out_mapX,
38 image::Image<float>& out_mapY,

Callers 3

computeMethod · 0.85
computeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected