Vc
0.7.5-dev
SIMD Vector Classes for C++
|
|
Helper class to ensure proper alignment.
This class reimplements the new
and delete
operators to align the allocated object suitably for vector data. Additionally the type is annotated to require that same alignment when placed on the stack.
This class differs from Vc::VectorAlignedBase in that the template parameter determines the alignment. The alignment rules for different vector types might be different. If you use Vc::VectorAlignedBase you will get the most restrictive alignment (i.e. it will work for all vector types, but might lead to unnecessary padding).
V | One of the Vc vector types. |
#include <dox.h>
Inherited by Memory< V, Size1, Size2 >, and Memory< V, Size, 0u >.