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

all

Returns 1 if the most significant bit in all components of x is set; otherwise returns 0.


template <typename I, detail::enable_if_t<(detail::builtin::is_igeninteger<I>::value), int> >
int all(I x)
(1)
  1. Returns 1 if the most significant bit in all components of x is set; otherwise returns 0.
    Parameters:
    • I x

syclreference.com — SYCL Reference Pages

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