syclreference.com
  1. SYCL
  2. | API Reference
  3. | Types
  4. | half
  5. | half

half

MISSING


half()
(1)
half(cl::sycl::half &&)
(2)
half(const cl::sycl::half &)
(3)
half(const float & f)
(4)
  1. default constructor, inits as zero

  2. Parameters:
    • cl::sycl::half && unnamed

  3. Parameters:
    • const cl::sycl::half & unnamed
  4. Takes in a 32 bit float and converts it to 16 bits
    Parameters:
    • const float & f : the float to be converted to 16 bits

syclreference.com — SYCL Reference Pages

Last updated: 2019-01-24 00:24:52 +0000