merge with kernels from MH's master thesis
[LbmBenchmarkKernelsPublic.git] / src / Memory.h
index cfe1dfc59196730830494c6f5a79a2c277f05132..092736df8f86384e586c0e439eb651f486e5847e 100644 (file)
@@ -8,6 +8,10 @@
 //   Viktor Haag, 2016
 //   LSS, University of Erlangen-Nuremberg, Germany
 //
+//   Michael Hussnaetter, 2017-2018
+//   University of Erlangen-Nuremberg, Germany
+//   michael.hussnaetter -at- fau.de
+//
 //  This file is part of the Lattice Boltzmann Benchmark Kernels (LbmBenchKernels).
 //
 //  LbmBenchKernels is free software: you can redistribute it and/or modify
@@ -35,4 +39,10 @@ int MemFree(void ** ptr);
 
 int MemZero(void * ptr, size_t bytesToZero);
 
+#ifdef HAVE_MEMKIND
+int HbwAlloc(void ** ptr, size_t bytesToAlloc);
+int HbwAllocAligned(void ** ptr, size_t bytesToAlloc, size_t alignmentBytes);
+int HbwFree(void ** ptr);
+#endif
+
 #endif // __MEMORY_H__
This page took 0.075303 seconds and 5 git commands to generate.