Small formatting change
This commit is contained in:
parent
8c4af581d1
commit
9916a81bc5
@ -49,9 +49,9 @@ SYCLStream<T>::SYCLStream(const unsigned int ARRAY_SIZE, const int device_index)
|
|||||||
|
|
||||||
queue = new cl::sycl::queue(dev, [&](cl::sycl::exception_list l) {
|
queue = new cl::sycl::queue(dev, [&](cl::sycl::exception_list l) {
|
||||||
try {
|
try {
|
||||||
for(auto e: l) {
|
for(auto e: l) {
|
||||||
std::rethrow_exception(e);
|
std::rethrow_exception(e);
|
||||||
}
|
}
|
||||||
} catch (cl::sycl::exception e) {
|
} catch (cl::sycl::exception e) {
|
||||||
std::cout << e.what();
|
std::cout << e.what();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user