@@ -210,8 +210,6 @@ def ol_dpnp_empty(
210210 shape ,
211211 dtype = None ,
212212 order = "C" ,
213- # like=None, # this gets lost when dpnp.empty() is called outside dpjit,
214- # see issue https://github.com/IntelPython/numba-dpex/issues/998
215213 device = None ,
216214 usm_type = "device" ,
217215 sycl_queue = None ,
@@ -229,12 +227,6 @@ def ol_dpnp_empty(
229227 Default: None.
230228 order (str, optional): memory layout for the array "C" or "F".
231229 Default: "C".
232- like (numba.core.types.npytypes.Array, optional): A type for
233- reference object to allow the creation of arrays which are not
234- `NumPy` arrays. If an array-like passed in as `like` supports the
235- `__array_function__` protocol, the result will be defined by it.
236- In this case, it ensures the creation of an array object
237- compatible with that passed in via this argument.
238230 device (numba.core.types.misc.StringLiteral, optional): array API
239231 concept of device where the output array is created. `device`
240232 can be `None`, a oneAPI filter selector string, an instance of
@@ -278,7 +270,6 @@ def impl(
278270 shape ,
279271 dtype = None ,
280272 order = "C" ,
281- # like=None, see issue https://github.com/IntelPython/numba-dpex/issues/998
282273 device = None ,
283274 usm_type = "device" ,
284275 sycl_queue = None ,
@@ -287,7 +278,6 @@ def impl(
287278 shape ,
288279 _dtype ,
289280 order ,
290- # like, see issue https://github.com/IntelPython/numba-dpex/issues/998
291281 _device ,
292282 _usm_type ,
293283 sycl_queue ,
@@ -309,7 +299,6 @@ def ol_dpnp_zeros(
309299 shape ,
310300 dtype = None ,
311301 order = "C" ,
312- like = None ,
313302 device = None ,
314303 usm_type = "device" ,
315304 sycl_queue = None ,
@@ -327,12 +316,6 @@ def ol_dpnp_zeros(
327316 Default: None.
328317 order (str, optional): memory layout for the array "C" or "F".
329318 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.
336319 device (numba.core.types.misc.StringLiteral, optional): array API
337320 concept of device where the output array is created. `device`
338321 can be `None`, a oneAPI filter selector string, an instance of
@@ -376,7 +359,6 @@ def impl(
376359 shape ,
377360 dtype = None ,
378361 order = "C" ,
379- like = None ,
380362 device = None ,
381363 usm_type = "device" ,
382364 sycl_queue = None ,
@@ -385,7 +367,6 @@ def impl(
385367 shape ,
386368 _dtype ,
387369 order ,
388- like ,
389370 _device ,
390371 _usm_type ,
391372 sycl_queue ,
@@ -407,7 +388,6 @@ def ol_dpnp_ones(
407388 shape ,
408389 dtype = None ,
409390 order = "C" ,
410- like = None ,
411391 device = None ,
412392 usm_type = "device" ,
413393 sycl_queue = None ,
@@ -425,12 +405,6 @@ def ol_dpnp_ones(
425405 Default: None.
426406 order (str, optional): memory layout for the array "C" or "F".
427407 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.
434408 device (numba.core.types.misc.StringLiteral, optional): array API
435409 concept of device where the output array is created. `device`
436410 can be `None`, a oneAPI filter selector string, an instance of
@@ -474,7 +448,6 @@ def impl(
474448 shape ,
475449 dtype = None ,
476450 order = "C" ,
477- like = None ,
478451 device = None ,
479452 usm_type = "device" ,
480453 sycl_queue = None ,
@@ -483,7 +456,6 @@ def impl(
483456 shape ,
484457 _dtype ,
485458 order ,
486- like ,
487459 _device ,
488460 _usm_type ,
489461 sycl_queue ,
0 commit comments