Skip to content

Commit 95098f3

Browse files
committed
Switch to JSON config for NVidia compiler's benefit
1 parent d3f8510 commit 95098f3

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
@@ -157,13 +157,23 @@ int main()
157157
io::determineDatatype<uint64_t>(),
158158
{2},
159159
R"(
160-
hdf5.dataset.chunks = "auto"
161-
162-
hdf5.dataset.permanent_filters = [
163-
{type = "zlib", aggression = 5},
164-
{id = "shuffle", "flags" = "MANDATORY"}
165-
]
166-
)");
160+
{
161+
"hdf5": {
162+
"dataset": {
163+
"chunks": "auto",
164+
"permanent_filters": [
165+
{
166+
"aggression": 5,
167+
"type": "zlib"
168+
},
169+
{
170+
"flags": "MANDATORY",
171+
"id": "shuffle"
172+
}
173+
]
174+
}
175+
}
176+
})");
167177
electrons.particlePatches["numParticles"].resetDataset(dset);
168178
electrons.particlePatches["numParticlesOffset"].resetDataset(dset);
169179

0 commit comments

Comments
 (0)