As one might guess, #113 and #114 were just collateral updates for this PR. :stuck_out_tongue:
With oneAPI 2024.1.0 Intel switched to enforcing SYCL 2020 rules more strictly than it did earlier. And as it turns out, using std::abs with floating point numbers is no longer okay in SYCL device code. :thinking: Leading to the following, very non-descriptive linker error:
Note that one must not even use sycl::abs on floating point numbers. :confused: So I'll have some further fixes to do in the higher level projects as well... :thinking:
As one might guess, #113 and #114 were just collateral updates for this PR. :stuck_out_tongue:
With oneAPI 2024.1.0 Intel switched to enforcing SYCL 2020 rules more strictly than it did earlier. And as it turns out, using std::abs with floating point numbers is no longer okay in SYCL device code. :thinking: Leading to the following, very non-descriptive linker error:
Switching to
sycl::fabs
solves the issue.Note that one must not even use
sycl::abs
on floating point numbers. :confused: So I'll have some further fixes to do in the higher level projects as well... :thinking: