()
| 93 | reason="Not support tensorflow for now", |
| 94 | ) |
| 95 | def test_copy_from_gpu(): |
| 96 | hg = create_test_graph(idtype=F.int32) |
| 97 | hg_gpu = hg.to(F.cuda()) |
| 98 | hg_share = hg_gpu.shared_memory("hg_gpu") |
| 99 | p = mp.Process(target=sub_proc, args=(hg, "hg_gpu")) |
| 100 | p.start() |
| 101 | p.join() |
| 102 | |
| 103 | |
| 104 | # TODO: Test calling shared_memory with Blocks (a subclass of HeteroGraph) |
no test coverage detected