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

rotate

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules described in section 6.3).


template <typename I, detail::enable_if_t<(detail::builtin::is_geninteger<I>::value), int> >
I rotate(I v, I i)
(1)
  1. For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules described in section 6.3).
    Parameters:
    • I v
    • I i

syclreference.com — SYCL Reference Pages

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