In the previous chapters, you caught glimpses of how we use vectors in various ways from a tool to transport data in an efficient manner to the device and from the device. We have also learned that OpenCL provides a substantial amount of functions that actually work on vectors. In this section, we will explore how we can store vectors to an array (when we use arrays in this context with a vector, we mean an array that contains scalar values).
vstore<N> functions, where
16, are the primary functions you will use to actually signal the OpenCL that you wish to store the elements in your vector that has to be transported in a parallel fashion to a destination; this is often a scalar array or another ...