(module)
| 34 | |
| 35 | |
| 36 | def setup_module(module): |
| 37 | np.random.seed(1234) |
| 38 | ctx1 = cuda.Context() |
| 39 | nb_ctx1 = ctx1.to_numba() |
| 40 | nb_ctx2 = nb_cuda.current_context() |
| 41 | ctx2 = cuda.Context.from_numba(nb_ctx2) |
| 42 | module.context_choices = [(ctx1, nb_ctx1), (ctx2, nb_ctx2)] |
| 43 | |
| 44 | |
| 45 | def teardown_module(module): |
nothing calls this directly
no outgoing calls
no test coverage detected