Skip to content

Commit 17e41dd

Browse files
committed
Switch to JSON config for NVidia compiler's benefit
1 parent a1ab7ca commit 17e41dd

File tree

1 file changed

+17
-7
lines changed

1 file changed

+17
-7
lines changed

examples/7_extended_write_serial.cpp

+17-7
Original file line numberDiff line numberDiff line change
@@ -162,13 +162,23 @@ int main()
162162
io::determineDatatype<uint64_t>(),
163163
{2},
164164
R"(
165-
hdf5.dataset.chunks = "auto"
166-
167-
hdf5.dataset.permanent_filters = [
168-
{type = "zlib", aggression = 5},
169-
{id = "shuffle", "flags" = "MANDATORY"}
170-
]
171-
)");
165+
{
166+
"hdf5": {
167+
"dataset": {
168+
"chunks": "auto",
169+
"permanent_filters": [
170+
{
171+
"aggression": 5,
172+
"type": "zlib"
173+
},
174+
{
175+
"flags": "MANDATORY",
176+
"id": "shuffle"
177+
}
178+
]
179+
}
180+
}
181+
})");
172182
electrons.particlePatches["numParticles"].resetDataset(dset);
173183
electrons.particlePatches["numParticlesOffset"].resetDataset(dset);
174184

0 commit comments

Comments
 (0)