libclcxx
C++ libraries for OpenCL
std::vector_size< T > Struct Template Reference

Inherits integral_constant< size_t, 0 >.

Detailed Description

template<typename T>
struct std::vector_size< T >

Provides the constant member variable value equal to the the number of elements of a vector T.

Template Parameters
T- a vector type.

Example:

// This will provide the size of float8 which is the integer constant 8.

The documentation for this struct was generated from the following file:
std::vector_size
Definition: opencl_type_traits:472