MCPcopy Create free account
hub / github.com/apache/arrow / setup_module

Function setup_module

python/pyarrow/tests/test_cuda.py:49–51  ·  view source on GitHub ↗
(module)

Source from the content-addressed store, hash-verified

47
48
49def setup_module(module):
50 module.global_context = cuda.Context(0)
51 module.global_context1 = cuda.Context(cuda.Context.get_num_devices() - 1)
52
53
54def teardown_module(module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected