Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up unused code in parfors #1448

Merged
merged 1 commit into from
May 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
88 changes: 0 additions & 88 deletions numba_dpex/core/parfors/compiler.py

This file was deleted.

11 changes: 0 additions & 11 deletions numba_dpex/core/parfors/kernel_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,18 @@
# SPDX-License-Identifier: Apache-2.0

import copy
import sys
import warnings

import dpctl
import dpctl.program as dpctl_prog
from numba.core import ir, types
from numba.core.errors import NumbaParallelSafetyWarning
from numba.core.ir_utils import (
add_offset_to_labels,
get_name_var_table,
get_unused_var_name,
legalize_names,
mk_unique_var,
remove_dead,
remove_dels,
rename_labels,
replace_var_names,
)
from numba.core.target_extension import target_override
from numba.core.typing import signature
from numba.parfors import parfor

Expand All @@ -32,15 +25,11 @@
)
from numba_dpex.core.types.kernel_api.index_space_ids import ItemType
from numba_dpex.core.utils.call_kernel_builder import SPIRVKernelModule
from numba_dpex.kernel_api_impl.spirv import spirv_generator
from numba_dpex.kernel_api_impl.spirv.dispatcher import (
SPIRVKernelDispatcher,
_SPIRVKernelCompileResult,
)

from ..descriptor import dpex_kernel_target
from ..types import DpnpNdArray
from .compiler import compile_numba_ir_with_dpex
from .kernel_templates.range_kernel_template import RangeKernelTemplate


Expand Down
1 change: 0 additions & 1 deletion numba_dpex/core/parfors/parfor_lowerer.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# SPDX-License-Identifier: Apache-2.0

import copy
from collections import namedtuple

from llvmlite import ir as llvmir
from numba.core import cgutils, ir, types
Expand Down
4 changes: 0 additions & 4 deletions numba_dpex/core/parfors/reduction_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@
from numba.parfors import parfor
from numba.parfors.parfor_lowering_utils import ParforLoweringBuilder

from numba_dpex.core.datamodel.models import (
dpex_data_model_manager as kernel_dmm,
)
from numba_dpex.core.utils.call_kernel_builder import KernelLaunchIRBuilder
from numba_dpex.core.utils.cgutils_extra import get_llvm_type
from numba_dpex.dpctl_iface import libsyclinterface_bindings as sycl

Expand Down
Loading