Skip to content

Instantly share code, notes, and snippets.

@serge-sans-paille
Created February 11, 2013 10:48
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save serge-sans-paille/4753798 to your computer and use it in GitHub Desktop.
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