File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 3232#include < sycl/detail/core.hpp>
3333#include < sycl/properties/all_properties.hpp>
3434#include < sycl/usm.hpp>
35- #include < unistd.h>
3635
3736using namespace sycl ;
3837using namespace std ::chrono;
Original file line number Diff line number Diff line change @@ -25,8 +25,9 @@ bool test(queue &Q) {
2525
2626 for (int i = 0 ; i < N; ++i) {
2727 float value = esimd_test::getRandomValue<float >();
28- while (fabs (value) > std::numeric_limits<half>::max () ||
29- fabs (value) < std::numeric_limits<half>::min () || std::isnan (value))
28+ while (sycl::fabs (value) > std::numeric_limits<half>::max () ||
29+ sycl::fabs (value) < std::numeric_limits<half>::min () ||
30+ std::isnan (value))
3031 value = esimd_test::getRandomValue<float >();
3132
3233 Input[i] = value;
You can’t perform that action at this time.
0 commit comments