Skip to content

Commit c996548

Browse files
committed
Switch to JSON config for NVidia compiler's benefit
1 parent dcb411e commit c996548

File tree

1 file changed

+17
-7
lines changed

1 file changed

+17
-7
lines changed

examples/7_extended_write_serial.cpp

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -158,13 +158,23 @@ int main()
158158
io::determineDatatype<uint64_t>(),
159159
{2},
160160
R"(
161-
hdf5.dataset.chunks = "auto"
162-
163-
hdf5.dataset.permanent_filters = [
164-
{type = "zlib", aggression = 5},
165-
{id = "shuffle", "flags" = "MANDATORY"}
166-
]
167-
)");
161+
{
162+
"hdf5": {
163+
"dataset": {
164+
"chunks": "auto",
165+
"permanent_filters": [
166+
{
167+
"aggression": 5,
168+
"type": "zlib"
169+
},
170+
{
171+
"flags": "MANDATORY",
172+
"id": "shuffle"
173+
}
174+
]
175+
}
176+
}
177+
})");
168178
electrons.particlePatches["numParticles"].resetDataset(dset);
169179
electrons.particlePatches["numParticlesOffset"].resetDataset(dset);
170180

0 commit comments

Comments
 (0)