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

misc: move pdl, sgpu, and wgsl_printer out of experimental #3384

Merged
merged 1 commit into from
Nov 4, 2024
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 tests/interpreters/test_pdl_interpreter.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
i64,
)
from xdsl.interpreter import Interpreter
from xdsl.interpreters.experimental.pdl import (
from xdsl.interpreters.pdl import (
PDLMatcher,
PDLRewriteFunctions,
PDLRewritePattern,
Expand Down
2 changes: 1 addition & 1 deletion tests/interpreters/test_wgpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

pytest.importorskip("wgpu", reason="wgpu is an optional dependency")

from xdsl.interpreters.experimental.wgpu import WGPUFunctions # noqa: E402
from xdsl.interpreters.wgpu import WGPUFunctions # noqa: E402
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's this lint for? Realise it's unchanged but could there be an explanation in the comment



def test_init():
Expand Down
2 changes: 1 addition & 1 deletion tests/interpreters/test_wgsl_printer.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from xdsl.context import MLContext
from xdsl.dialects import arith, builtin, gpu, memref, test
from xdsl.dialects.builtin import IndexType, IntegerAttr, IntegerType, i32
from xdsl.interpreters.experimental.wgsl_printer import WGSLPrinter
from xdsl.interpreters.wgsl_printer import WGSLPrinter
from xdsl.parser import Parser
from xdsl.utils.test_value import TestSSAValue

Expand Down
4 changes: 2 additions & 2 deletions xdsl/interpreters/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
memref,
memref_stream,
ml_program,
pdl,
printf,
riscv,
riscv_debug,
Expand All @@ -21,7 +22,6 @@
snitch_stream,
tensor,
)
from xdsl.interpreters.experimental import pdl


def register_implementations(
Expand Down Expand Up @@ -51,7 +51,7 @@ def register_implementations(
interpreter.register_implementations(onnx.OnnxFunctions())

if include_wgpu:
from xdsl.interpreters.experimental import wgpu
from xdsl.interpreters import wgpu

interpreter.register_implementations(wgpu.WGPUFunctions())
interpreter.register_implementations(builtin.BuiltinFunctions())
Expand Down
Empty file.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
from xdsl.dialects.builtin import IndexType
from xdsl.dialects.memref import MemRefType
from xdsl.interpreter import Interpreter, InterpreterFunctions, impl, register_impls
from xdsl.interpreters.experimental.wgsl_printer import WGSLPrinter
from xdsl.interpreters.shaped_array import ShapedArray
from xdsl.interpreters.wgsl_printer import WGSLPrinter
from xdsl.ir import Attribute, SSAValue
from xdsl.traits import SymbolTable
from xdsl.utils.hints import isa
Expand Down
Loading