syclreference.com
  1. SYCL
  2. | API Reference
  3. | Built-Ins
  4. | mul_hi

mul_hi

Computes x * y and returns the high half of the product of x and y.


template <typename I, detail::enable_if_t<(detail::builtin::is_geninteger<I>::value), int> >
I mul_hi(I x, I y)
(1)
  1. Computes `x * y` and returns the high half of the product of `x` and `y`.
    Parameters:
    • I x
    • I y

syclreference.com — SYCL Reference Pages

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