Skip to content

Commit 2ccbc09

Browse files
committed
Removed like arg in dpnp zeros and ones overload.
1 parent 5c18691 commit 2ccbc09

File tree

2 files changed

+0
-24
lines changed

2 files changed

+0
-24
lines changed

numba_dpex/dpnp_iface/_intrinsic.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,6 @@ def impl_dpnp_zeros(
185185
ty_shape,
186186
ty_dtype,
187187
ty_order,
188-
ty_like,
189188
ty_device,
190189
ty_usm_type,
191190
ty_sycl_queue,
@@ -203,7 +202,6 @@ def impl_dpnp_zeros(
203202
dtype.
204203
ty_order (numba.core.types.misc.UnicodeType): UnicodeType
205204
from numba for strings.
206-
ty_like (numba.core.types.npytypes.Array): Numba type for array.
207205
ty_device (numba.core.types.misc.UnicodeType): UnicodeType
208206
from numba for strings.
209207
ty_usm_type (numba.core.types.misc.UnicodeType): UnicodeType
@@ -223,7 +221,6 @@ def impl_dpnp_zeros(
223221
ty_shape,
224222
ty_dtype,
225223
ty_order,
226-
ty_like,
227224
ty_device,
228225
ty_usm_type,
229226
ty_sycl_queue,
@@ -245,7 +242,6 @@ def impl_dpnp_ones(
245242
ty_shape,
246243
ty_dtype,
247244
ty_order,
248-
ty_like,
249245
ty_device,
250246
ty_usm_type,
251247
ty_sycl_queue,
@@ -263,7 +259,6 @@ def impl_dpnp_ones(
263259
dtype.
264260
ty_order (numba.core.types.misc.UnicodeType): UnicodeType
265261
from numba for strings.
266-
ty_like (numba.core.types.npytypes.Array): Numba type for array.
267262
ty_device (numba.core.types.misc.UnicodeType): UnicodeType
268263
from numba for strings.
269264
ty_usm_type (numba.core.types.misc.UnicodeType): UnicodeType
@@ -283,7 +278,6 @@ def impl_dpnp_ones(
283278
ty_shape,
284279
ty_dtype,
285280
ty_order,
286-
ty_like,
287281
ty_device,
288282
ty_usm_type,
289283
ty_sycl_queue,

numba_dpex/dpnp_iface/arrayobj.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,6 @@ def ol_dpnp_zeros(
309309
shape,
310310
dtype=None,
311311
order="C",
312-
like=None,
313312
device=None,
314313
usm_type="device",
315314
sycl_queue=None,
@@ -327,12 +326,6 @@ def ol_dpnp_zeros(
327326
Default: None.
328327
order (str, optional): memory layout for the array "C" or "F".
329328
Default: "C".
330-
like (numba.core.types.npytypes.Array, optional): A type for
331-
reference object to allow the creation of arrays which are not
332-
`NumPy` arrays. If an array-like passed in as `like` supports the
333-
`__array_function__` protocol, the result will be defined by it.
334-
In this case, it ensures the creation of an array object
335-
compatible with that passed in via this argument.
336329
device (numba.core.types.misc.StringLiteral, optional): array API
337330
concept of device where the output array is created. `device`
338331
can be `None`, a oneAPI filter selector string, an instance of
@@ -376,7 +369,6 @@ def impl(
376369
shape,
377370
dtype=None,
378371
order="C",
379-
like=None,
380372
device=None,
381373
usm_type="device",
382374
sycl_queue=None,
@@ -385,7 +377,6 @@ def impl(
385377
shape,
386378
_dtype,
387379
order,
388-
like,
389380
_device,
390381
_usm_type,
391382
sycl_queue,
@@ -407,7 +398,6 @@ def ol_dpnp_ones(
407398
shape,
408399
dtype=None,
409400
order="C",
410-
like=None,
411401
device=None,
412402
usm_type="device",
413403
sycl_queue=None,
@@ -425,12 +415,6 @@ def ol_dpnp_ones(
425415
Default: None.
426416
order (str, optional): memory layout for the array "C" or "F".
427417
Default: "C".
428-
like (numba.core.types.npytypes.Array, optional): A type for
429-
reference object to allow the creation of arrays which are not
430-
`NumPy` arrays. If an array-like passed in as `like` supports the
431-
`__array_function__` protocol, the result will be defined by it.
432-
In this case, it ensures the creation of an array object
433-
compatible with that passed in via this argument.
434418
device (numba.core.types.misc.StringLiteral, optional): array API
435419
concept of device where the output array is created. `device`
436420
can be `None`, a oneAPI filter selector string, an instance of
@@ -474,7 +458,6 @@ def impl(
474458
shape,
475459
dtype=None,
476460
order="C",
477-
like=None,
478461
device=None,
479462
usm_type="device",
480463
sycl_queue=None,
@@ -483,7 +466,6 @@ def impl(
483466
shape,
484467
_dtype,
485468
order,
486-
like,
487469
_device,
488470
_usm_type,
489471
sycl_queue,

0 commit comments

Comments
 (0)