repo.or.cz
/
gromacs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Allow CUDA build tests to succeed without GPU
[gromacs.git]
/
cmake
/
TestMMMalloc.cpp
blob
64eab19eec1087c80701d578f53382bee809e55f
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
8
9
int
10
main
()
11
{
12
void
*
p
=
_mm_malloc
(
8
*
sizeof
(
float
),
64
);
13
_mm_free
(
p
);
14
}