Skip to content

Commit 0a21ec2

Browse files
author
Diptorup Deb
authored
Merge pull request #1422 from IntelPython/refactor/code-reorganization
Refactor/code reorganization
2 parents 013be2e + 1cde85e commit 0a21ec2

File tree

9 files changed

+6
-60
lines changed

9 files changed

+6
-60
lines changed

numba_dpex/core/pipelines/dpjit_compiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919
)
2020

2121
from numba_dpex.core.exceptions import UnsupportedCompilationModeError
22+
from numba_dpex.core.parfors.parfor_diagnostics import ExtendedParforDiagnostics
2223
from numba_dpex.core.parfors.parfor_pass import ParforPass
2324
from numba_dpex.core.passes import (
2425
DumpParforDiagnostics,
2526
NoPythonBackend,
2627
ParforLegalizeCFDPass,
2728
)
28-
from numba_dpex.parfor_diagnostics import ExtendedParforDiagnostics
2929

3030

3131
class _DpjitPassBuilder(object):

numba_dpex/debuginfo.py

Lines changed: 0 additions & 54 deletions
This file was deleted.

numba_dpex/kernel_api_impl/spirv/overloads/_atomic_ref_overloads.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
from numba.core import cgutils, types
1212
from numba.extending import intrinsic, overload, overload_method
1313

14-
from numba_dpex.core import itanium_mangler as ext_itanium_mangler
1514
from numba_dpex.core.types import USMNdArray
1615
from numba_dpex.core.types.kernel_api.atomic_ref import AtomicRefType
16+
from numba_dpex.core.utils import itanium_mangler as ext_itanium_mangler
1717
from numba_dpex.kernel_api import (
1818
AddressSpace,
1919
AtomicRef,

numba_dpex/kernel_api_impl/spirv/overloads/spv_fn_declarations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from llvmlite import ir as llvmir
1313
from numba.core import cgutils, types
1414

15-
from numba_dpex.core import itanium_mangler as ext_itanium_mangler
15+
from numba_dpex.core.utils import itanium_mangler as ext_itanium_mangler
1616
from numba_dpex.kernel_api_impl.spirv.target import CC_SPIR_FUNC
1717

1818
_SUPPORT_CONVERGENT = True

numba_dpex/ocl/_declare_function.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from llvmlite import ir as llvmir
66
from numba.core import cgutils, types
77

8-
from numba_dpex.core.itanium_mangler import mangle_c
8+
from numba_dpex.core.utils.itanium_mangler import mangle_c
99

1010
# -----------------------------------------------------------------------------
1111

numba_dpex/ocl/mathimpl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from numba.core import types
1010
from numba.core.imputils import Registry
1111

12-
from numba_dpex.core.itanium_mangler import mangle
12+
from numba_dpex.core.utils.itanium_mangler import mangle
1313

1414
from ._declare_function import _declare_function
1515

numba_dpex/tests/core/test_itanium_mangler_extension.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from numba import float32, float64, int32, int64, uint32, uint64
77
from numba.core import types
88

9-
import numba_dpex.core.itanium_mangler as itanium_mangler
9+
import numba_dpex.core.utils.itanium_mangler as itanium_mangler
1010
from numba_dpex.utils import address_space
1111

1212
list_of_dtypes = [

0 commit comments

Comments
 (0)