Gromacs
2016.6
|
#include <gromacs/simd/simd.h>
Proxy object to enable load() for SIMD and double types.
This object is returned by the load() function that takes a single pointer to a double. When the result is assigned to either SimdDouble or double, the appropriate conversion method will be executed, which in turn calls the correct low-level load function. In pratice this simply means you can use load() regardless for both SIMD and non-SIMD floating point data in templated functions.
This is an internal class you should never touch or create objects of. The only reason the constructor isn't private is that the load() function must be static to enable aggressive inlining.
Public Member Functions | |
operator double () const | |
Conversion method that will execute load of scalar double. | |
operator SimdDouble () const | |
Conversion method that will execute load of SimdDouble. | |
Friends | |
const SimdLoadDProxyInternal gmx_simdcall | load (const double *m) |
Load function that returns proxy object for SimdDouble and double. More... | |
|
friend |
Load function that returns proxy object for SimdDouble and double.
m | Pointer to load memory |