dpctl icon indicating copy to clipboard operation
dpctl copied to clipboard

Python SYCL bindings and SYCL-based Python Array API library

Results 106 dpctl issues
Sort by recently updated
recently updated
newest added

This PR experiments with running array API conformity tests with `ARRAY_API_TESTS_VERSION=2024.12` - [X] Have you provided a meaningful PR description? - [ ] Have you added a test, reproducer or...

It seems `dpctl.tensor.tan` returns result which differs with numpy and Intel MKL: ```python import dpnp, numpy, dpctl, dpctl.tensor as dpt a = numpy.array([11], dtype='F') numpy.tan(a) # Out: array([-225.95084+0.j], dtype=complex64) ia...

bug
good first issue

Currently, `DPCTL_TARGET_CUDA` cmake option is binary, and doesn't allow the user to set a CUDA architecture. This could become problematic in the future and/or for extensions which the compiler may...

enhancement
good first issue
build
cmake

It seems `intel-sycl-rt` package isn't installing (but required by) during installation of dpctl wheel package: ```bash $ mamba create -n py312 --yes -c conda-forge --override-channels python=3.12 virtualenv $ mamba activate...

We will eventually need to support complexes as well. This is not straightforward with `ctypes`: https://stackoverflow.com/questions/13373291/complex-number-in-ctypes So down the road we might just introduce our own scalar type in `dpctl`....

enhancement

The result for the The following examples differ from NumPy. Changing dtype to `"c8"` will return the correct result. ```python import numpy, dpctl.tensor as dpt a=numpy.array(1.+64387093.j) numpy.asin(a) # np.complex128(1.5531063034636457e-08+18.673570932293245j) ia=dpt.asarray(1.+64387093.j)...

good first issue

This PR cleans up indexing functions * Renames Python bindings from `usm_ndarray_take` and `usm_ndarray_put` to `py_take` and `py_put` to improve consistency with the rest of dpctl * Removes indexing mode...

Sometimes, and more frequently than I would have liked it to, the Linux test run times out, seemingly hanging on with this being the last output: ``` tests/elementwise/test_bitwise_xor.py::test_bitwise_xor_inplace_python_scalar[u2] PASSED [...

This task is to transition `dpctl` to use `towncrier` package (see [tutorial](https://towncrier.readthedocs.io/en/latest/tutorial.html)) to manage its change-log and what's new. The towncrier is used by NumPy, amongst other projects. Configuration settings...

infrastructure

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.31.0 to 4.31.2. Release notes Sourced from github/codeql-action's releases. v4.31.2 CodeQL Action Changelog See the releases page for the relevant changes to the CodeQL CLI and language...

dependencies
github_actions