Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
sycl::rint
rather than std::rint
to resolve failed tests on N…
…vidia hardware When compiled for CUDA, `std::rint` would incorrectly round values halfway between two integers toward 0, rather than to the nearest even number as required per array API. `sycl::rint` avoids such issues by not relying on the current rounding mode
- Loading branch information