Benefit of built-in vector types?

Hi all,

What is the benefit of using the built-in vector types? Is the only reason the optimal/correct alignment?

As a suggestion for future CUDA versions, It would be nice to have some more functionality in C++ mode, especially stuff that cannot easily be added now (like cutil_math.h). I’m thinking constructors, operator, (explicit) conversion operators.


These types allow for coalesced access to vectors of 2 and 4 elements.