Skip to content

Commit

Permalink
add __init__s
Browse files Browse the repository at this point in the history
  • Loading branch information
makslevental committed Jan 1, 2025
1 parent b096232 commit 038bd73
Show file tree
Hide file tree
Showing 29 changed files with 222 additions and 4 deletions.
6 changes: 6 additions & 0 deletions projects/eudsl-py/src/eudsl/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
# Copyright (c) 2024.

from .eudslpy_ext import *
8 changes: 8 additions & 0 deletions projects/eudsl-py/src/eudsl/dialects/LLVM/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
# Copyright (c) 2025.

from ...eudslpy_ext.dialects.LLVM import *


8 changes: 8 additions & 0 deletions projects/eudsl-py/src/eudsl/dialects/NVVM/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
# Copyright (c) 2025.

from ...eudslpy_ext.dialects.NVVM import *


8 changes: 8 additions & 0 deletions projects/eudsl-py/src/eudsl/dialects/ROCDL/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
# Copyright (c) 2025.

from ...eudslpy_ext.dialects.ROCDL import *


6 changes: 6 additions & 0 deletions projects/eudsl-py/src/eudsl/dialects/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
# Copyright (c) 2024.

from ..eudslpy_ext.dialects import *
8 changes: 8 additions & 0 deletions projects/eudsl-py/src/eudsl/dialects/affine/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
# Copyright (c) 2025.

from ...eudslpy_ext.dialects.affine import *


8 changes: 8 additions & 0 deletions projects/eudsl-py/src/eudsl/dialects/amdgpu/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
# Copyright (c) 2025.

from ...eudslpy_ext.dialects.amdgpu import *


8 changes: 8 additions & 0 deletions projects/eudsl-py/src/eudsl/dialects/arith/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
# Copyright (c) 2025.

from ...eudslpy_ext.dialects.arith import *


8 changes: 8 additions & 0 deletions projects/eudsl-py/src/eudsl/dialects/async/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
# Copyright (c) 2025.

from ...eudslpy_ext.dialects.async import *


Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
# Copyright (c) 2025.

from ...eudslpy_ext.dialects.bufferization import *


8 changes: 8 additions & 0 deletions projects/eudsl-py/src/eudsl/dialects/cf/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
# Copyright (c) 2025.

from ...eudslpy_ext.dialects.cf import *


8 changes: 8 additions & 0 deletions projects/eudsl-py/src/eudsl/dialects/complex/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
# Copyright (c) 2025.

from ...eudslpy_ext.dialects.complex import *


8 changes: 8 additions & 0 deletions projects/eudsl-py/src/eudsl/dialects/emitc/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
# Copyright (c) 2025.

from ...eudslpy_ext.dialects.emitc import *


8 changes: 8 additions & 0 deletions projects/eudsl-py/src/eudsl/dialects/func/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
# Copyright (c) 2025.

from ...eudslpy_ext.dialects.func import *


8 changes: 8 additions & 0 deletions projects/eudsl-py/src/eudsl/dialects/gpu/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
# Copyright (c) 2025.

from ...eudslpy_ext.dialects.gpu import *


8 changes: 8 additions & 0 deletions projects/eudsl-py/src/eudsl/dialects/index/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
# Copyright (c) 2025.

from ...eudslpy_ext.dialects.index import *


8 changes: 8 additions & 0 deletions projects/eudsl-py/src/eudsl/dialects/linalg/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
# Copyright (c) 2025.

from ...eudslpy_ext.dialects.linalg import *


8 changes: 8 additions & 0 deletions projects/eudsl-py/src/eudsl/dialects/math/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
# Copyright (c) 2025.

from ...eudslpy_ext.dialects.math import *


8 changes: 8 additions & 0 deletions projects/eudsl-py/src/eudsl/dialects/memref/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
# Copyright (c) 2025.

from ...eudslpy_ext.dialects.memref import *


8 changes: 8 additions & 0 deletions projects/eudsl-py/src/eudsl/dialects/nvgpu/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
# Copyright (c) 2025.

from ...eudslpy_ext.dialects.nvgpu import *


8 changes: 8 additions & 0 deletions projects/eudsl-py/src/eudsl/dialects/pdl/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
# Copyright (c) 2025.

from ...eudslpy_ext.dialects.pdl import *


8 changes: 8 additions & 0 deletions projects/eudsl-py/src/eudsl/dialects/pdl_interp/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
# Copyright (c) 2025.

from ...eudslpy_ext.dialects.pdl_interp import *


8 changes: 8 additions & 0 deletions projects/eudsl-py/src/eudsl/dialects/polynomial/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
# Copyright (c) 2025.

from ...eudslpy_ext.dialects.polynomial import *


8 changes: 8 additions & 0 deletions projects/eudsl-py/src/eudsl/dialects/scf/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
# Copyright (c) 2025.

from ...eudslpy_ext.dialects.scf import *


8 changes: 8 additions & 0 deletions projects/eudsl-py/src/eudsl/dialects/shape/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
# Copyright (c) 2025.

from ...eudslpy_ext.dialects.shape import *


8 changes: 8 additions & 0 deletions projects/eudsl-py/src/eudsl/dialects/tensor/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
# Copyright (c) 2025.

from ...eudslpy_ext.dialects.tensor import *


8 changes: 8 additions & 0 deletions projects/eudsl-py/src/eudsl/dialects/tosa/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
# Copyright (c) 2025.

from ...eudslpy_ext.dialects.tosa import *


6 changes: 6 additions & 0 deletions projects/eudsl-py/src/eudsl/ir/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
# Copyright (c) 2024.

from ..eudslpy_ext.ir import *
8 changes: 4 additions & 4 deletions projects/eudsl-py/tests/test_bindings.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
# Copyright (c) 2024.

import numpy as np
from eudsl.eudslpy_ext import ArrayRef, SmallVector
from eudsl.eudslpy_ext.dialects.arith import ArithDialect, ConstantOp
from eudsl.eudslpy_ext.ir import (
from eudsl import ArrayRef, SmallVector
from eudsl.dialects.arith import ArithDialect, ConstantOp
from eudsl.ir import (
MLIRContext,
Threading,
ModuleOp,
Expand All @@ -19,7 +19,7 @@
Attribute,
MemRefType,
)
from eudsl.eudslpy_ext.dialects import nvgpu
from eudsl.dialects import nvgpu


def test_array_ref():
Expand Down

0 comments on commit 038bd73

Please sign in to comment.