File tree 1 file changed +0
-12
lines changed
sycl/include/CL/sycl/detail
1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -15,22 +15,10 @@ __SYCL_INLINE namespace cl {
15
15
namespace sycl {
16
16
namespace detail {
17
17
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.
27
18
#ifndef __SYCL_DEVICE_ONLY__
28
- #define _Float16 cl::sycl::detail::half_impl::half
29
19
#define _Bool bool
30
20
#endif
31
21
32
- } // namespace half_impl
33
-
34
22
// kernel parameter kinds
35
23
enum class kernel_param_kind_t {
36
24
kind_accessor,
You can’t perform that action at this time.
0 commit comments