Tests/port existing kernel tests to experimental #1392
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The PR adds versions of existing kernel unit tests to the
numba_dpex.experimental.kernel. The work is a prerequisite to identify gaps before migrating features fromnumba_dpex.experimentalto the top-levelnumba-dpexmodule.Matrix of existing kernel unit tests
test_atomic_opAtomicReftests in experimental module.test_barriergroup_barrierwith work-group scope.test_cachingtest_complex_arraytest_complex_array_kernel_argtest_dpnp_ndarray_argstest_dump_kernel_llvmtest_func_qualname_disambiguationtest_func_specializationtest_functest_invalid_kernel_argstest_kernel_has_return_value_errortest_kernel_launch_paramscall_kerneltest_kernel_specializationtest_math_functionstest_ndrange_exceptionsNdRangeconstructor testtest_printprintimplnot yet added to new target contexttest_private_memory_allocationkapi.PrivateArraytest_scalar_argtest_sycl_usm_array_iface_interop__SYCL_USM_ARRAY_INTERFACE__support is slotted to be removed and for the time being onlydpnp.ndarrayanddpctl.tensor.usm_ndarrayare valid arrya inputs. Interop is implemented indirectly using__dlpack__conversion via dpnp/dpctl.tensor.test_usm_ndarray_interoptest_usm_ndarray_args