concept vector in category opencl

This is an excerpt from Manning's book OpenCL in Action: How to Accelerate Graphics and Computation.
Standardized vector processing is one of the greatest advantages of OpenCL, but before I explain why, I need to define precisely what I’m talking about. The term vector is going to get a lot of mileage in this book, and it may be used in one of three different (though essentially similar) ways:
In many cases, you may want to process data using vector operations, but the input is given as a scalar array. The = won’t work, and you can’t cast data in one address space to data in another. Thankfully, OpenCL provides vloadn for loading scalar data into vectors. Its signature is as follows:
vector vloadn(size_t offset, const __(g|c|l|p) scalar *mem)In this signature, n identifies the number of components in the returned vector, and it must be set to 2, 3, 4, 8, or 16. vector can be any vector type, and scalar must have the same data type as that of the components inside vector. The memory containing vector and scalar can be located in different address spaces.
The offset argument determines which elements of the array are placed in the vector. This is given in terms of the size of the vector, not the size of its scalar components. In the preceding example, if the first argument of vload4 is 1, float_vec will contain the fifth through eighth elements of float_array. This is depicted on the left side of figure 5.2.
The right side of figure 5.2 shows how pointer operations make it possible to load unaligned data from a scalar array into a vector. Note that unaligned data transfer may cause memory access delays.