cl::sycl::stream_vec< kVecPart, kEnabled, elementT, kDimensions > Struct Template Reference
Template struct that contains a function call operator that streams a vec object to a stream object. More...
#include <stream.h>
Public Member Functions | |
const stream & | operator() (const stream &os, const vec< elementT, kDimensions > &rhs) |
Inline function call operator that streams part of the vec to a stream object. More... | |
Detailed Description
template<int kVecPart, bool kEnabled, typename elementT, int kDimensions>
struct cl::sycl::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 Parameters
-
kVecPart The part of the vec to be streamed. kEnabled A boolean specifying whether that part of the vec is streamed. elementT The element type of the vec. kDimensions The number of dimensions of the vec.
Member Function Documentation
◆ operator()()
|
inline |
The documentation for this struct was generated from the following file: