Skip to content

Commit 898694d

Browse files
committed
[SYCL] Partially revert intel#185
Changes to tests are preserved Signed-off-by: Alexey Sachkov <[email protected]>
1 parent c9d78ed commit 898694d

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

sycl/include/CL/sycl/detail/kernel_desc.hpp

-12
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,10 @@ __SYCL_INLINE namespace cl {
1515
namespace sycl {
1616
namespace detail {
1717

18-
namespace half_impl {
19-
20-
class half;
21-
// Half type is defined as _Float16 on device and as manually implemented half
22-
// type on host. Integration header is generated by device compiler so it sees
23-
// half type as _Float16 and it will add _Float16 to integration header if it
24-
// is used in kernel name template parameters. To avoid errors in host
25-
// compilation we remove _Float16 from integration header using following macro.
26-
// Same thing goes about bool type which is defined as _Bool.
2718
#ifndef __SYCL_DEVICE_ONLY__
28-
#define _Float16 cl::sycl::detail::half_impl::half
2919
#define _Bool bool
3020
#endif
3121

32-
} // namespace half_impl
33-
3422
// kernel parameter kinds
3523
enum class kernel_param_kind_t {
3624
kind_accessor,

0 commit comments

Comments
 (0)