summaryrefslogtreecommitdiffstats
path: root/test/enc_dec_plist.c
diff options
context:
space:
mode:
authorNeil Fortner <fortnern@gmail.com>2023-04-28 23:58:25 (GMT)
committerGitHub <noreply@github.com>2023-04-28 23:58:25 (GMT)
commit3236fb79cedcbe8fed2f421db1ae15f630b5b90f (patch)
treeb4751d6d020d057f4a43f3c89186418cdd1ac0cf /test/enc_dec_plist.c
parent4497feb5756d76479fb36fef999692c0909f8340 (diff)
downloadhdf5-3236fb79cedcbe8fed2f421db1ae15f630b5b90f.zip
hdf5-3236fb79cedcbe8fed2f421db1ae15f630b5b90f.tar.gz
hdf5-3236fb79cedcbe8fed2f421db1ae15f630b5b90f.tar.bz2
Implement selection I/O with type conversion (#2823)
Initial implementation of selection I/O with type conversion. Allows Parallel collective I/O with type conversion, as long as selection I/O is enabled.
Diffstat (limited to 'test/enc_dec_plist.c')
-rw-r--r--test/enc_dec_plist.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/enc_dec_plist.c b/test/enc_dec_plist.c
index fd4ae5e..5b75178 100644
--- a/test/enc_dec_plist.c
+++ b/test/enc_dec_plist.c
@@ -367,6 +367,12 @@ main(void)
if ((H5Pset_data_transform(dxpl, c_to_f)) < 0)
FAIL_STACK_ERROR;
+ if (H5Pset_selection_io(dxpl, H5D_SELECTION_IO_MODE_ON) < 0)
+ FAIL_STACK_ERROR;
+
+ if (H5Pset_modify_write_buf(dxpl, TRUE) < 0)
+ FAIL_STACK_ERROR;
+
/* Test encoding & decoding property list */
if (test_encode_decode(dxpl, low, high) < 0)
FAIL_PUTS_ERROR("DXPL encoding/decoding failed\n");