summaryrefslogtreecommitdiffstats
path: root/test/hyperslab.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/hyperslab.c')
-rw-r--r--test/hyperslab.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/hyperslab.c b/test/hyperslab.c
index 82baee3..6712f5b 100644
--- a/test/hyperslab.c
+++ b/test/hyperslab.c
@@ -174,7 +174,7 @@ test_fill(size_t nx, size_t ny, size_t nz, size_t di, size_t dj, size_t dk, size
} /* end else */
HDsnprintf(s, sizeof(s), "Testing hyperslab fill %-11s variable hyperslab", dim);
printf("%-70s", s);
- HDfflush(stdout);
+ fflush(stdout);
/* Allocate array */
if (NULL == (dst = (uint8_t *)calloc((size_t)1, nx * ny * nz)))
@@ -363,7 +363,7 @@ test_copy(int mode, size_t nx, size_t ny, size_t nz, size_t di, size_t dj, size_
HDsnprintf(s, sizeof(s), "Testing hyperslab copy %-11s %s", dim, sub);
printf("%-70s", s);
- HDfflush(stdout);
+ fflush(stdout);
/*
* Allocate arrays
@@ -572,7 +572,7 @@ test_multifill(size_t nx)
hsize_t i, j;
printf("%-70s", "Testing multi-byte fill value");
- HDfflush(stdout);
+ fflush(stdout);
/* Initialize the source and destination */
if (NULL == (src = (struct a_struct *)malloc(nx * sizeof(*src))))
@@ -684,7 +684,7 @@ test_endian(size_t nx)
hsize_t i, j;
printf("%-70s", "Testing endian conversion by stride");
- HDfflush(stdout);
+ fflush(stdout);
/* Initialize arrays */
if (NULL == (src = (uint8_t *)malloc(nx * 4)))
@@ -771,7 +771,7 @@ test_transpose(size_t nx, size_t ny)
HDsnprintf(s, sizeof(s), "Testing 2d transpose by stride %4lux%-lud", (unsigned long)nx,
(unsigned long)ny);
printf("%-70s", s);
- HDfflush(stdout);
+ fflush(stdout);
/* Initialize */
if (NULL == (src = (int *)malloc(nx * ny * sizeof(*src))))
@@ -870,7 +870,7 @@ test_sub_super(size_t nx, size_t ny)
HDsnprintf(s, sizeof(s), "Testing image sampling %4lux%-4lu to %4lux%-4lu ", (unsigned long)(2 * nx),
(unsigned long)(2 * ny), (unsigned long)nx, (unsigned long)ny);
printf("%-70s", s);
- HDfflush(stdout);
+ fflush(stdout);
/* Initialize */
if (NULL == (full = (uint8_t *)malloc(4 * nx * ny)))
@@ -920,7 +920,7 @@ test_sub_super(size_t nx, size_t ny)
HDsnprintf(s, sizeof(s), "Testing image sampling %4lux%-4lu to %4lux%-4lu ", (unsigned long)nx,
(unsigned long)ny, (unsigned long)(2 * nx), (unsigned long)(2 * ny));
printf("%-70s", s);
- HDfflush(stdout);
+ fflush(stdout);
/* Setup stride */
size[0] = nx;