Skip to content

Commit 559f0aa

Browse files
authored
[Wave] Rename wave.* -> wave_lang.* (#47)
This PR renames the top level wave directory to wave_lang to avoid conflicts with Python's native wave package. Signed-off-by: Harsh Menon <[email protected]>
1 parent 098dbb8 commit 559f0aa

34 files changed

+19
-18
lines changed

iree/turbine/kernel/wave/codegen/emitter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
import torch.fx as fx
1515

1616
from iree.turbine.kernel.lang.global_symbols import *
17-
from wave.aot.support.ir_utils import (
17+
from wave_lang.aot.support.ir_utils import (
1818
_is_float_type,
1919
_is_integer_like_type,
2020
)

iree/turbine/kernel/wave/codegen/handlers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
scf_d,
3838
vector_d,
3939
)
40-
from wave.aot.support.ir_utils import (
40+
from wave_lang.aot.support.ir_utils import (
4141
_is_float_type,
4242
_is_integer_like_type,
4343
_is_signed_or_signless_type,

iree/turbine/runtime/op_reg/impl_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def generate(kb: KernelBuilder):
3636
Value,
3737
)
3838

39-
from wave.transforms.merger import Merger
39+
from wave_lang.transforms.merger import Merger
4040

4141
from .base import (
4242
KernelBuilder,

lit_tests/kernel/wave/sharktank_integration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
# RUN: python %s | FileCheck %s
22

33
import textwrap
4-
import wave.aot as aot
54
from typing import Optional
6-
from wave.transforms.merger import Merger
75

86
import torch
97
from jinja2 import BaseLoader, Environment
108

119
import iree.turbine.kernel.wave as tkw
10+
import wave_lang.aot as aot
1211
from iree.compiler.ir import (
1312
Context,
1413
MLIRError,
@@ -44,6 +43,7 @@
4443
from iree.turbine.runtime.op_reg.impl_helper import (
4544
call_function,
4645
)
46+
from wave_lang.transforms.merger import Merger
4747

4848
_JINJA2_ENVIRONMENT: Optional[Environment] = None
4949

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ def load_version_info(version_file):
7676
include=[
7777
"iree.turbine",
7878
"iree.turbine.*",
79-
"wave",
80-
"wave.*",
79+
"wave_lang",
80+
"wave_lang.*",
8181
],
8282
)
8383

tests/tools/interpreter_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from wave.tools.interpreter import Interpreter
1+
from wave_lang.tools.interpreter import Interpreter
22
import iree.turbine.kernel.lang as tkl
33
import iree.turbine.kernel.wave as tkw
44
from iree.turbine.kernel.lang.global_symbols import *
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)