MCPcopy Create free account
hub / github.com/NVIDIA/cuda-tile / mlir_context

Function mlir_context

test/python/test_typing.py:16–20  ·  view source on GitHub ↗

Create an MLIR context for tests that need types.

()

Source from the content-addressed store, hash-verified

14
15@pytest.fixture(scope="module")
16def mlir_context():
17 """Create an MLIR context for tests that need types."""
18 with Context() as ctx:
19 register_dialect(ctx, load=True)
20 yield ctx
21
22
23def test_make_tile_type(mlir_context):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected