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 32
32
#include < sycl/detail/core.hpp>
33
33
#include < sycl/properties/all_properties.hpp>
34
34
#include < sycl/usm.hpp>
35
- #include < unistd.h>
36
35
37
36
using namespace sycl ;
38
37
using namespace std ::chrono;
Original file line number Diff line number Diff line change @@ -25,8 +25,9 @@ bool test(queue &Q) {
25
25
26
26
for (int i = 0 ; i < N; ++i) {
27
27
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))
30
31
value = esimd_test::getRandomValue<float >();
31
32
32
33
Input[i] = value;
You can’t perform that action at this time.
0 commit comments