acts-project / algebra-plugins

Mozilla Public License 2.0
3 stars 10 forks source link

SYCL FP64 Test Skips, main branch (2023.10.06.) #108

Closed krasznaa closed 11 months ago

krasznaa commented 11 months ago

Some of the Intel (i)GPUs don't have native FP64 support. This update makes sure that tests would not fail on them because of this.

Without these checks, I would get the following on my laptop:

[ RUN      ] algebra_plugins/test_sycl_basics/sycl_array_cmath<double>.transform3
unknown file: error: C++ exception with description "Required aspect fp64 is not supported on the device" thrown in the test body.        

[  FAILED  ] algebra_plugins/test_sycl_basics/sycl_array_cmath<double>.transform3, ...
krasznaa commented 11 months ago

Argh.. I was afraid that I would not find the right format on Windows... (Unfortunately running clang-format on Windows is quite impossible because of line-end-character differences. So Docker's clang-format does not have a good time there...)