Skip to content

Commit 6e9a574

Browse files
author
Diptorup Deb
authored
Merge pull request #1315 from IntelPython/refactor/spirv_generator
Move spirv_generator into _kernel_api_impl.spirv
2 parents df32f71 + 46be859 commit 6e9a574

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

numba_dpex/_kernel_api_impl/spirv/dispatcher.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
from numba.core.types import void
2626
from numba.core.typing.typeof import Purpose, typeof
2727

28-
from numba_dpex import config, numba_sem_version, spirv_generator
28+
from numba_dpex import config, numba_sem_version
29+
from numba_dpex._kernel_api_impl.spirv import spirv_generator
2930
from numba_dpex._kernel_api_impl.spirv.codegen import SPIRVCodeLibrary
3031
from numba_dpex._kernel_api_impl.spirv.target import (
3132
CompilationMode,

numba_dpex/core/kernel_interface/spirv_kernel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
from numba.core import ir
99

10-
from numba_dpex import spirv_generator
10+
from numba_dpex._kernel_api_impl.spirv import spirv_generator
1111
from numba_dpex._kernel_api_impl.spirv.target import SPIRVTargetContext
1212
from numba_dpex.core import config
1313
from numba_dpex.core.compiler import compile_with_dpex

0 commit comments

Comments
 (0)