//#define SHUTDOWNINTERVAL 3 //M
#define RETRYINTERVAL 100 //N (For MatrixMultiply, 2DFFT, 2DConv benchmarks)
#define SHUTDOWNINTERVAL 1 //M
+#define NUM_TRY_TO_COMMIT 2
+#define MEM_ALLOC_THRESHOLD 20485760//20MB
#include <stdlib.h>
#include <stdio.h>