torch-mlir/external/iree-dialects/test/python/smoketest.py

8 lines
131 B
Python

# RUN: %PYTHON %s
import mlir.ir
from mlir.dialects import iree
with mlir.ir.Context() as ctx:
iree.register_iree_dialect(ctx)