Skip to content

Commit c9128e6

Browse files
authored
[SYCL] Remove half from global namespace (#4818)
1 parent a5f2937 commit c9128e6

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

sycl/include/CL/sycl/aliases.hpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ class half;
2424
} // namespace sycl
2525
} // __SYCL_INLINE_NAMESPACE(cl)
2626

27-
using half __SYCL2020_DEPRECATED("use 'sycl::half' instead") =
28-
cl::sycl::detail::half_impl::half;
29-
3027
#define __SYCL_MAKE_VECTOR_ALIAS(ALIAS, TYPE, N) \
3128
using ALIAS##N = cl::sycl::vec<TYPE, N>;
3229

sycl/test/warnings/sycl_2020_deprecations.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,5 @@ int main() {
173173
// expected-warning@+1{{'barrier' is deprecated: use 'ext_oneapi_barrier' instead}}
174174
Queue.submit([&](sycl::handler &CGH) { CGH.barrier(); });
175175

176-
// expected-warning@+1{{'half' is deprecated: use 'sycl::half' instead}}
177-
half H;
178-
(void)H;
179-
180176
return 0;
181177
}

0 commit comments

Comments
 (0)