| 21 | namespace depthMap_sycl { |
| 22 | |
| 23 | sycl::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 | |
| 37 | void copyFloat2Map(image::Image<float>& out_mapX, |
| 38 | image::Image<float>& out_mapY, |
no outgoing calls
no test coverage detected