Skip to content

Commit

Permalink
Removed like arg in dpnp zeros and ones overload.
Browse files Browse the repository at this point in the history
  • Loading branch information
mingjie-intel committed May 16, 2023
1 parent 5c18691 commit 2ccbc09
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 24 deletions.
6 changes: 0 additions & 6 deletions numba_dpex/dpnp_iface/_intrinsic.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ def impl_dpnp_zeros(
ty_shape,
ty_dtype,
ty_order,
ty_like,
ty_device,
ty_usm_type,
ty_sycl_queue,
Expand All @@ -203,7 +202,6 @@ def impl_dpnp_zeros(
dtype.
ty_order (numba.core.types.misc.UnicodeType): UnicodeType
from numba for strings.
ty_like (numba.core.types.npytypes.Array): Numba type for array.
ty_device (numba.core.types.misc.UnicodeType): UnicodeType
from numba for strings.
ty_usm_type (numba.core.types.misc.UnicodeType): UnicodeType
Expand All @@ -223,7 +221,6 @@ def impl_dpnp_zeros(
ty_shape,
ty_dtype,
ty_order,
ty_like,
ty_device,
ty_usm_type,
ty_sycl_queue,
Expand All @@ -245,7 +242,6 @@ def impl_dpnp_ones(
ty_shape,
ty_dtype,
ty_order,
ty_like,
ty_device,
ty_usm_type,
ty_sycl_queue,
Expand All @@ -263,7 +259,6 @@ def impl_dpnp_ones(
dtype.
ty_order (numba.core.types.misc.UnicodeType): UnicodeType
from numba for strings.
ty_like (numba.core.types.npytypes.Array): Numba type for array.
ty_device (numba.core.types.misc.UnicodeType): UnicodeType
from numba for strings.
ty_usm_type (numba.core.types.misc.UnicodeType): UnicodeType
Expand All @@ -283,7 +278,6 @@ def impl_dpnp_ones(
ty_shape,
ty_dtype,
ty_order,
ty_like,
ty_device,
ty_usm_type,
ty_sycl_queue,
Expand Down
18 changes: 0 additions & 18 deletions numba_dpex/dpnp_iface/arrayobj.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,6 @@ def ol_dpnp_zeros(
shape,
dtype=None,
order="C",
like=None,
device=None,
usm_type="device",
sycl_queue=None,
Expand All @@ -327,12 +326,6 @@ def ol_dpnp_zeros(
Default: None.
order (str, optional): memory layout for the array "C" or "F".
Default: "C".
like (numba.core.types.npytypes.Array, optional): A type for
reference object to allow the creation of arrays which are not
`NumPy` arrays. If an array-like passed in as `like` supports the
`__array_function__` protocol, the result will be defined by it.
In this case, it ensures the creation of an array object
compatible with that passed in via this argument.
device (numba.core.types.misc.StringLiteral, optional): array API
concept of device where the output array is created. `device`
can be `None`, a oneAPI filter selector string, an instance of
Expand Down Expand Up @@ -376,7 +369,6 @@ def impl(
shape,
dtype=None,
order="C",
like=None,
device=None,
usm_type="device",
sycl_queue=None,
Expand All @@ -385,7 +377,6 @@ def impl(
shape,
_dtype,
order,
like,
_device,
_usm_type,
sycl_queue,
Expand All @@ -407,7 +398,6 @@ def ol_dpnp_ones(
shape,
dtype=None,
order="C",
like=None,
device=None,
usm_type="device",
sycl_queue=None,
Expand All @@ -425,12 +415,6 @@ def ol_dpnp_ones(
Default: None.
order (str, optional): memory layout for the array "C" or "F".
Default: "C".
like (numba.core.types.npytypes.Array, optional): A type for
reference object to allow the creation of arrays which are not
`NumPy` arrays. If an array-like passed in as `like` supports the
`__array_function__` protocol, the result will be defined by it.
In this case, it ensures the creation of an array object
compatible with that passed in via this argument.
device (numba.core.types.misc.StringLiteral, optional): array API
concept of device where the output array is created. `device`
can be `None`, a oneAPI filter selector string, an instance of
Expand Down Expand Up @@ -474,7 +458,6 @@ def impl(
shape,
dtype=None,
order="C",
like=None,
device=None,
usm_type="device",
sycl_queue=None,
Expand All @@ -483,7 +466,6 @@ def impl(
shape,
_dtype,
order,
like,
_device,
_usm_type,
sycl_queue,
Expand Down

0 comments on commit 2ccbc09

Please sign in to comment.