Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports
Path: blob/main/biology/bolt-lmm/files/patch-src_MemoryUtils.hpp
18160 views
1
--- src/MemoryUtils.hpp.orig 2022-03-20 13:40:42 UTC
2
+++ src/MemoryUtils.hpp
3
@@ -31,8 +31,7 @@ void *ALIGNED_MALLOC(uint64 size);
4
#include <mkl.h>
5
#define ALIGNED_FREE mkl_free
6
#else
7
-#include <xmmintrin.h>
8
-#define ALIGNED_FREE _mm_free
9
+#define ALIGNED_FREE free
10
#endif
11
12
#define ALIGNED_MALLOC_DOUBLES(numDoubles) (double *) ALIGNED_MALLOC((numDoubles)*sizeof(double))
13
14