From e45008151d911f0c35d2a56c0c608636ff7ac9c9 Mon Sep 17 00:00:00 2001 From: Diptorup Deb Date: Mon, 12 Feb 2024 09:54:02 -0600 Subject: [PATCH] Rename spirv_fn_generator to spirv_atomic_fn_declarations. --- .../_kernel_dpcpp_spirv_overloads/_atomic_ref_overloads.py | 2 +- .../_index_space_id_overloads.py | 2 +- .../{spv_fn_generator.py => spv_atomic_fn_declarations.py} | 0 numba_dpex/experimental/launcher.py | 6 +++--- 4 files changed, 5 insertions(+), 5 deletions(-) rename numba_dpex/experimental/_kernel_dpcpp_spirv_overloads/{spv_fn_generator.py => spv_atomic_fn_declarations.py} (100%) diff --git a/numba_dpex/experimental/_kernel_dpcpp_spirv_overloads/_atomic_ref_overloads.py b/numba_dpex/experimental/_kernel_dpcpp_spirv_overloads/_atomic_ref_overloads.py index 097198b0e8..0abd0ce8fa 100644 --- a/numba_dpex/experimental/_kernel_dpcpp_spirv_overloads/_atomic_ref_overloads.py +++ b/numba_dpex/experimental/_kernel_dpcpp_spirv_overloads/_atomic_ref_overloads.py @@ -32,7 +32,7 @@ get_memory_semantics_mask, get_scope, ) -from .spv_fn_generator import ( +from .spv_atomic_fn_declarations import ( get_or_insert_atomic_load_fn, get_or_insert_spv_atomic_compare_exchange_fn, get_or_insert_spv_atomic_exchange_fn, diff --git a/numba_dpex/experimental/_kernel_dpcpp_spirv_overloads/_index_space_id_overloads.py b/numba_dpex/experimental/_kernel_dpcpp_spirv_overloads/_index_space_id_overloads.py index 0ec0c8414c..c8ff48c750 100644 --- a/numba_dpex/experimental/_kernel_dpcpp_spirv_overloads/_index_space_id_overloads.py +++ b/numba_dpex/experimental/_kernel_dpcpp_spirv_overloads/_index_space_id_overloads.py @@ -11,12 +11,12 @@ from numba.core.errors import TypingError from numba.extending import intrinsic, overload_method -from numba_dpex.kernel_api_impl.spirv.target import SPIRVTargetContext from numba_dpex.core.types.kernel_api.index_space_ids import ( GroupType, ItemType, NdItemType, ) +from numba_dpex.kernel_api_impl.spirv.target import SPIRVTargetContext from ..target import DPEX_KERNEL_EXP_TARGET_NAME diff --git a/numba_dpex/experimental/_kernel_dpcpp_spirv_overloads/spv_fn_generator.py b/numba_dpex/experimental/_kernel_dpcpp_spirv_overloads/spv_atomic_fn_declarations.py similarity index 100% rename from numba_dpex/experimental/_kernel_dpcpp_spirv_overloads/spv_fn_generator.py rename to numba_dpex/experimental/_kernel_dpcpp_spirv_overloads/spv_atomic_fn_declarations.py diff --git a/numba_dpex/experimental/launcher.py b/numba_dpex/experimental/launcher.py index c0f8638eaa..64f5c36f4d 100644 --- a/numba_dpex/experimental/launcher.py +++ b/numba_dpex/experimental/launcher.py @@ -25,14 +25,14 @@ ItemType, NdItemType, ) +from numba_dpex.core.utils import kernel_launcher as kl +from numba_dpex.dpctl_iface import libsyclinterface_bindings as sycl +from numba_dpex.dpctl_iface.wrappers import wrap_event_reference from numba_dpex.kernel_api_impl.spirv.dispatcher import ( SPIRVKernelDispatcher, _SPIRVKernelCompileResult, ) from numba_dpex.kernel_api_impl.spirv.target import SPIRVTargetContext -from numba_dpex.core.utils import kernel_launcher as kl -from numba_dpex.dpctl_iface import libsyclinterface_bindings as sycl -from numba_dpex.dpctl_iface.wrappers import wrap_event_reference class LLRange(NamedTuple):