Skip to content

Commit 3a3fcbe

Browse files
committed
FIX
Signed-off-by: Aleksander Fadeev <[email protected]>
1 parent dbad799 commit 3a3fcbe

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

sycl/include/CL/sycl/types.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ using is_float_to_float =
240240
std::integral_constant<bool, detail::is_floating_point<T>::value &&
241241
detail::is_floating_point<R>::value>;
242242
template <typename T>
243-
using is_standart_type = std::integral_constant<
243+
using is_standard_type = std::integral_constant<
244244
bool, detail::is_sgentype<T>::value && !std::is_same<T, long long>::value &&
245245
!std::is_same<T, unsigned long long>::value>;
246246

@@ -486,7 +486,7 @@ __SYCL_GENERATE_CONVERT_IMPL_FOR_ROUNDING_MODE(rtn, Rtn)
486486
template <typename T, typename R, rounding_mode roundingMode, typename OpenCLT,
487487
typename OpenCLR>
488488
detail::enable_if_t<
489-
(!is_standart_type<T>::value && !is_standart_type<OpenCLT>::value ||
489+
(!is_standard_type<T>::value && !is_standart_type<OpenCLT>::value ||
490490
!is_standart_type<R>::value && !is_standart_type<OpenCLR>::value) &&
491491
!std::is_same<OpenCLT, OpenCLR>::value,
492492
R>

sycl/test/basic_tests/vec_convert_f_to_f.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// XFAIL: cuda
22
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
3-
// RUN: env SYCL_DEVICE_TYPE=CPU %t.out
43
// RUN: %CPU_RUN_PLACEHOLDER %t.out
54
// RUN: %GPU_RUN_PLACEHOLDER %t.out
65
// RUN: %ACC_RUN_PLACEHOLDER %t.out

sycl/test/basic_tests/vec_convert_half.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// XFAIL: cuda
22
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
3-
// RUN: env SYCL_DEVICE_TYPE=CPU %t.out
3+
// %CPU_RUN_PLACEHOLDER %t.out
44
// RUN: %GPU_RUN_PLACEHOLDER %t.out
55
// RUN: %ACC_RUN_PLACEHOLDER %t.out
66
//==------------ vec_convert_half.cpp - SYCL vec class convert method test ------==//

0 commit comments

Comments
 (0)