Skip to content

Commit df07886

Browse files
committed
[SYCL]Fix isordered built-in function realization
Signed-off-by: mdimakov <[email protected]>
1 parent d0596bd commit df07886

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sycl/source/detail/builtins_relational.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -351,13 +351,13 @@ MAKE_1V_FUNC(IsNormal, __vIsNormal, s::cl_short, s::cl_half)
351351

352352
// (Ordered) // isordered
353353
__SYCL_EXPORT s::cl_int Ordered(s::cl_float x, s::cl_float y) __NOEXC {
354-
return __vOrdered(x, y);
354+
return __sOrdered(x, y);
355355
}
356356
__SYCL_EXPORT s::cl_int Ordered(s::cl_double x, s::cl_double y) __NOEXC {
357-
return __vOrdered(x, y);
357+
return __sOrdered(x, y);
358358
}
359359
__SYCL_EXPORT s::cl_int Ordered(s::cl_half x, s::cl_half y) __NOEXC {
360-
return __vOrdered(x, y);
360+
return __sOrdered(x, y);
361361
}
362362
MAKE_1V_2V_FUNC(Ordered, __vOrdered, s::cl_int, s::cl_float, s::cl_float)
363363
MAKE_1V_2V_FUNC(Ordered, __vOrdered, s::cl_long, s::cl_double, s::cl_double)

0 commit comments

Comments
 (0)