triSYCL implementation of OpenCL SYCL
Classes | Namespaces | Macros
vec.hpp File Reference

Implement the small OpenCL vector class. More...

#include "CL/sycl/detail/array_tuple_helpers.hpp"
Include dependency graph for vec.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  cl::sycl::vec< DataType, NumElements >
 Small OpenCL vector class. More...
 

Namespaces

 cl
 The vector type to be used as SYCL vector.
 
 cl::sycl
 

Macros

#define TRISYCL_DEFINE_VEC_TYPE_SIZE(type, size, actual_type)   using type##size = vec<actual_type, size>;
 A macro to define type alias, such as for type=uchar, size=4 and real_type=unsigned char, uchar4 is equivalent to vec<float, 4> More...
 
#define TRISYCL_DEFINE_VEC_TYPE(type, actual_type)
 Declare the vector types of a type for all the sizes. More...
 

Detailed Description

Implement the small OpenCL vector class.

Ronan at Keryell point FR

This file is distributed under the University of Illinois Open Source License. See LICENSE.TXT for details.

Definition in file vec.hpp.