Math.NET Numerics
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

30 lines
478 B

#include "wrapper_common.h"
#include "mkl.h"
#if GCC
extern "C" {
#endif
DLLEXPORT void free_buffers(void) {
mkl_free_buffers();
}
DLLEXPORT void thread_free_buffers(void) {
mkl_thread_free_buffers();
}
DLLEXPORT int disable_fast_mm(void) {
return mkl_disable_fast_mm();
}
DLLEXPORT MKL_INT64 mem_stat(int* AllocatedBuffers) {
return mkl_mem_stat(AllocatedBuffers);
}
DLLEXPORT MKL_INT64 peak_mem_usage(int mode) {
return mkl_peak_mem_usage(mode);
}
#if GCC
}
#endif