MCPcopy Create free account
hub / github.com/NVIDIA/DALI / test_no_parallel_no_shm

Function test_no_parallel_no_shm

dali/test/python/test_external_source_parallel.py:1153–1158  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1151
1152
1153def test_no_parallel_no_shm():
1154 shapes = [(4, 1024, 1024)]
1155 pipe = per_iter_shape_pipeline(shapes, parallel=False)
1156 for _ in range(5):
1157 pipe.run()
1158 assert pipe.external_source_shm_statistics()["capacities"] == []
1159
1160
1161def test_default_shm_size():

Callers

nothing calls this directly

Calls 3

per_iter_shape_pipelineFunction · 0.85
runMethod · 0.45

Tested by

no test coverage detected