dpctl
dpctl copied to clipboard
Python SYCL bindings and SYCL-based Python Array API library
Python 3.10 (venv) Ubuntu 22.04.3 LTS dpctl installed via pip (0.15.0) Here is the example which seg faults: ``` >>> import dpctl >>> import dpctl.tensor as dpt >>> import numpy...
Several aspects of dpctl documentation need to be improved. This ticket collects everything that needs to be cleaned up. - [ ] Missing user guides - [x] Device selection -...
When I am trying to compile it from the source, it's failing on `test_service.py` ```shell pytest --pyargs dpctl ===================================== test session starts ===================================== platform linux -- Python 3.9.12, pytest-7.1.2, pluggy-1.0.0...
There are GTest tests but they are not started during conda package building.
We should support reduced precision types that are supported in Sycl.
```python import dpctl import dpctl.tensor as dpt import multiprocessing import os def _exec(di): print(os.getpid()) x = dpt.ones(1, device="cpu") print(2) y = dpt.empty_like(x) y[...] = x di["hey"] = dpt.asnumpy(y) def main():...
On a machine with an Intel Xeon CPU, I tried to setup the following conda-based environment from scratch: ``` docker run -ti condaforge/mambaforge mamba init source ~/.bashrc mamba create -n...
The closer that we can get in `dpctl` seems to be `max_compute_units` but that does not seem to do the job, online documentation seems to suggest that the number of...
For project description please use Intro text I suggested for README.MD. Remove everything else from there, and instead provide the link to github.io documentation
dpctl can detect cuda devices: ``` In [2]: import dpctl In [3]: dpctl.get_devices() Out[3]: [] ``` but `dpctl.program` can't create kernels, [only `level_zero` and `opencl` are supported](https://github.com/IntelPython/dpctl/blob/master/libsyclinterface/source/dpctl_sycl_kernel_bundle_interface.cpp#L586): Are there plans...