Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move upate vars out of meta so it doesn't collide with upstream #39

Merged
merged 2 commits into from
Dec 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mlir/extras/dialects/ext/cf.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
_cext,
)
from ....ir import Value, InsertionPoint, Block, OpView
from ...meta import get_user_code_loc, Successor
from ...util import get_user_code_loc, Successor


@_cext.register_operation(_Dialect, replace=True)
Expand Down
4 changes: 2 additions & 2 deletions mlir/extras/dialects/ext/func.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
import sys
from typing import Union, Optional

from ...meta import make_maybe_no_args_decorator, op_region_builder
from ...util import get_user_code_loc
from ...meta import op_region_builder
from ...util import get_user_code_loc, make_maybe_no_args_decorator
from ....dialects.func import *
from ....ir import (
InsertionPoint,
Expand Down
4 changes: 1 addition & 3 deletions mlir/extras/dialects/ext/gpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,10 @@
from .arith import constant
from .func import FuncBase
from ...meta import (
ModuleMeta,
make_maybe_no_args_decorator,
region_op,
)
from ....dialects._ods_common import get_op_result_or_op_results
from ...util import get_user_code_loc
from ...util import get_user_code_loc, make_maybe_no_args_decorator, ModuleMeta


def block_id_x():
Expand Down
4 changes: 2 additions & 2 deletions mlir/extras/dialects/ext/scf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
)
from ...ast.util import ast_call, set_lineno
from .gpu import get_device_mapping_array_attr
from ...meta import region_adder, region_op
from ...util import get_user_code_loc
from ...meta import region_op
from ...util import get_user_code_loc, region_adder
from ....dialects._ods_common import (
get_op_result_or_op_results,
get_default_loc_context,
Expand Down
4 changes: 2 additions & 2 deletions mlir/extras/dialects/ext/tensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
from ....dialects import tensor
from ....dialects.tensor import *
from .arith import ArithValue, Scalar, constant
from ...meta import region_op, _update_caller_vars
from ...meta import region_op
from ...._mlir_libs._mlir import register_value_caster
from ...util import get_user_code_loc
from ...util import get_user_code_loc, _update_caller_vars
from ....dialects._ods_common import get_op_result_or_op_results

S = ShapedType.get_dynamic_size()
Expand Down
193 changes: 0 additions & 193 deletions mlir/extras/meta.py

This file was deleted.

Loading
Loading