Support for real MPI unit tests
[gromacs.git] / cmake / TestMMMalloc.cpp
blob64eab19eec1087c80701d578f53382bee809e55f
1 #if HAVE_MM_MALLOC_H
2 # include <mm_malloc.h>
3 #elif HAVE_MALLOC_H
4 # include <malloc.h>
5 #elif HAVE_XMMINTRIN_H
6 # include <xmmintrin.h>
7 #endif
9 int
10 main()
12 void *p = _mm_malloc(8*sizeof(float),64);
13 _mm_free(p);