Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
boost/simd/toolbox/operator/functions/load.hpp 27,2 Top
#include <boost/simd/include/simd.hpp>
#include <boost/simd/sdk/simd/pack.hpp>
using namespace boost::simd;
int main() {
int n = 100;
int * a = new int[n];
pack<int> v(a);// = unaligned_load< pack<int> >(a,0);
delete [] a;
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment