2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
10 H5::DSetCreatPropList getChunckedDatasetParams(
11 const WriterConfiguration<N>& cfg) {
12 H5::DSetCreatPropList params;
13 hsize_t batch_size = (
14 cfg.batch_size ? *cfg.batch_size : defaults::batch_size);
15 std::vector<hsize_t> chunk_size{batch_size};
18 chunk_size.end(), cfg.chunks->begin(), cfg.chunks->end());
21 chunk_size.end(), cfg.extent.begin(), cfg.extent.end());
23 params.setChunk(chunk_size.size(), chunk_size.data());
24 if (cfg.deflate) params.setDeflate(*cfg.deflate);