Skip to content

Commit 7810b42

Browse files
committed
Remove comments
1 parent fa71366 commit 7810b42

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

sycl/include/CL/sycl/half_type.hpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@ __SYCL_INLINE_NAMESPACE(cl) {
3737
namespace sycl {
3838
namespace detail {
3939

40-
// bitselect builtin uses union with half specialization, but half has no
41-
// trivial constructor. This struct allow to use host half class instead of main
42-
// half class in the bitselect builtin.
43-
4440
inline __SYCL_CONSTEXPR_HALF uint16_t float2Half(const float &Val) {
4541
const uint32_t Bits = sycl::bit_cast<uint32_t>(Val);
4642

@@ -325,7 +321,7 @@ class half {
325321
half() = default;
326322
constexpr half(const half &) = default;
327323
constexpr half(half &&) = default;
328-
324+
329325
__SYCL_CONSTEXPR_HALF half(const float &rhs) : Data(rhs) {}
330326

331327
constexpr half &operator=(const half &rhs) = default;

0 commit comments

Comments
 (0)