The generic type name gentypen
represents n-element vectors of gentype
elements. The suffix n is also used in the
function names (i.e. vloadn,
vstoren, etc.), where
n = 2, 3, 4, 8, or 16.

The results of vector data
load and store functions are undefined if the address being read from or written to is
not correctly aligned. The pointer argument p can be a pointer to
__global,
__local, or
__private
memory for store functions. The pointer argument
p can be a pointer to __global, __local, __constant or __private
memory for load functions.