syclreference.com
  1. SYCL
  2. | API Reference
  3. | Streams
  4. | stream_vec

stream_vec<kVecPart, kEnabled, elementT, kDimensions>

Template struct that contains a function call operator that streams a vec object to a stream object. Class is specialized for each combination of kVecPart specifying the part of a vector to stream and kEnabled specifying whether it streamed or not. This is the default template that does nothing.

template <int kVecPart, bool kEnabled, typename elementT, int kDimensions>
struct cl::sycl::stream_vec;

Member Functions

operator()

Inline function call operator that streams part of the vec to a stream object. This function call operator does nothing.

syclreference.com — SYCL Reference Pages

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