Skip to content

Commit

Permalink
[SYCL] Remove workaround after fix in spec
Browse files Browse the repository at this point in the history
KhronosGroup/SYCL-Docs#40 fix was submitted.
  • Loading branch information
vladimirlaz committed Aug 18, 2021
1 parent 02756e3 commit d177ce6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions sycl/include/CL/sycl/aliases.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,6 @@ class half;
} // namespace sycl
} // __SYCL_INLINE_NAMESPACE(cl)

// FIXME: line below exports 'half' into global namespace, which seems incorrect
// However, SYCL 1.2.1 spec considers 'half' to be a fundamental C++ data type
// which doesn't exist within the 'cl::sycl' namespace.
// Related spec issue: KhronosGroup/SYCL-Docs#40
using half = cl::sycl::detail::half_impl::half;

#define __SYCL_MAKE_VECTOR_ALIAS(ALIAS, TYPE, N) \
using ALIAS##N = cl::sycl::vec<TYPE, N>;

Expand Down

0 comments on commit d177ce6

Please sign in to comment.