MCPcopy
hub / github.com/dmlc/dgl / test_multi_process

Function test_multi_process

tests/python/common/test_heterograph-shared-memory.py:80–85  ·  view source on GitHub ↗
(idtype)

Source from the content-addressed store, hash-verified

78)
79@parametrize_idtype
80def test_multi_process(idtype):
81 hg = create_test_graph(idtype=idtype)
82 hg_share = hg.shared_memory("hg1")
83 p = mp.Process(target=sub_proc, args=(hg, "hg1"))
84 p.start()
85 p.join()
86
87
88@unittest.skipIf(

Calls 4

startMethod · 0.80
create_test_graphFunction · 0.70
shared_memoryMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected