public long MemoryStatistics(out int allocatedBuffers) { if (SafeNativeMethods.query_capability(67) < 1) { throw new NotSupportedException("MKL Native Provider does not support memory management functions. Consider upgrading to a newer version."); } return SafeNativeMethods.mem_stat(out allocatedBuffers); }