summaryrefslogtreecommitdiffstats
path: root/testpar/testphdf5.h
diff options
context:
space:
mode:
Diffstat (limited to 'testpar/testphdf5.h')
-rw-r--r--testpar/testphdf5.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/testpar/testphdf5.h b/testpar/testphdf5.h
index 81ad0f5..5f37313 100644
--- a/testpar/testphdf5.h
+++ b/testpar/testphdf5.h
@@ -36,6 +36,11 @@ enum H5TEST_COLL_CHUNK_API {API_NONE=0,API_LINK_HARD,
/* Constants definitions */
#define DIM0 600 /* Default dataset sizes. */
#define DIM1 1200 /* Values are from a monitor pixel sizes */
+#define PROCS_THRESHOLD 32 /* Threshold for changing dimensions factors */
+#define ROW_FACTOR 20 /* Nominal row factor for dataset size */
+#define COL_FACTOR 40 /* Nominal column factor for dataset size */
+#define MIN_ROW_FACTOR 2 /* Row factor after threshold on processors */
+#define MIN_COL_FACTOR 4 /* Column factor after threshold on processors */
#define RANK 2
#define DATASETNAME1 "Data1"
#define DATASETNAME2 "Data2"