easyconfigs-it4i/c/CNTK/glibc.patch
Lukáš Krupčík d1c3c8dfd4 modified: b/Boost/Boost-1.63.0-foss-2017a-Python-3.6.1.eb
new file:   c/CNTK/CNTK-2.0-foss-2017a-Python-3.6.1.eb
	new file:   c/CNTK/abs.patch
	new file:   c/CNTK/glibc.patch
	new file:   s/SWIG/SWIG-2.0.12-Python-3.6.1.eb
	new file:   s/Spack/Spack-0.10.0.eb
	deleted:    c/CNTK/CNTK-2.0-GCC-7.1.0-2.28-Python-3.6.1.eb
2017-07-07 13:36:29 +02:00

15 lines
518 B
Diff

--- Source/Math/BlockMultiplierPlatform.h.old 2017-07-07 12:36:28.290807773 +0200
+++ Source/Math/BlockMultiplierPlatform.h 2017-07-07 12:37:05.878425807 +0200
@@ -10,9 +10,9 @@
#else
#ifdef __GNUC__
#include <stdlib.h>
-#define ALIGNED_ALLOC(bytes,alignment) aligned_alloc(alignment,bytes)
+#include <malloc.h>
+#define ALIGNED_ALLOC(bytes,alignment) memalign(alignment,bytes)
#define ALIGNED_FREE(ptr) free(ptr)
-//#define FORCEINLINE __attribute__((always_inline))
#define FORCEINLINE inline
#endif
#endif