summaryrefslogtreecommitdiffstats
path: root/perform/chunk.c
diff options
context:
space:
mode:
Diffstat (limited to 'perform/chunk.c')
-rw-r--r--perform/chunk.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/perform/chunk.c b/perform/chunk.c
index 0348e6d..3c159ca 100644
--- a/perform/chunk.c
+++ b/perform/chunk.c
@@ -152,11 +152,7 @@ create_dataset (void)
dcpl = H5Pcreate (H5P_DATASET_CREATE);
size[0] = size[1] = CH_SIZE;
H5Pset_chunk (dcpl, 2, size);
-#ifdef H5_WANT_H5_V1_4_COMPAT
- H5Zregister (FILTER_COUNTER, "counter", counter);
-#else /* H5_WANT_H5_V1_4_COMPAT */
H5Zregister (H5Z_COUNTER);
-#endif /* H5_WANT_H5_V1_4_COMPAT */
H5Pset_filter (dcpl, FILTER_COUNTER, 0, 0, NULL);
/* The dataset */
@@ -198,12 +194,8 @@ test_rowmaj (int op, size_t cache_size, size_t io_size)
signed char *buf = calloc (1, (size_t)(SQUARE(io_size)));
hsize_t i, j, hs_size[2];
hssize_t hs_offset[2];
-#ifdef H5_WANT_H5_V1_4_COMPAT
- int mdc_nelmts, rdcc_nelmts;
-#else /* H5_WANT_H5_V1_4_COMPAT */
int mdc_nelmts;
size_t rdcc_nelmts;
-#endif /* H5_WANT_H5_V1_4_COMPAT */
double w0;
H5Pget_cache (fapl_g, &mdc_nelmts, &rdcc_nelmts, NULL, &w0);
@@ -279,12 +271,8 @@ test_diag (int op, size_t cache_size, size_t io_size, size_t offset)
hsize_t nio = 0;
hssize_t hs_offset[2];
signed char *buf = calloc (1, (size_t)(SQUARE (io_size)));
-#ifdef H5_WANT_H5_V1_4_COMPAT
- int mdc_nelmts, rdcc_nelmts;
-#else /* H5_WANT_H5_V1_4_COMPAT */
int mdc_nelmts;
size_t rdcc_nelmts;
-#endif /* H5_WANT_H5_V1_4_COMPAT */
double w0;
H5Pget_cache (fapl_g, &mdc_nelmts, &rdcc_nelmts, NULL, &w0);