---------------------------------------------------------------------------
SyclDeviceCreationError Traceback (most recent call last)
[/tmp/ipython-input-2008473604.py](https://github.com/IntelPython/dpnp/issues/new#) in <cell line: 0>()
1 import dpnp
2
----> 3 dpnp.ones(3)
4 frames[/usr/local/lib/python3.12/dist-packages/dpnp/dpnp_iface_arraycreation.py](https://github.com/IntelPython/dpnp/issues/new#) in ones(shape, dtype, order, like, device, usm_type, sycl_queue)
3414 usm_type = "device"
3415
-> 3416 return dpnp_container.ones(
3417 shape,
3418 dtype=dtype,
[/usr/local/lib/python3.12/dist-packages/dpnp/dpnp_container.py](https://github.com/IntelPython/dpnp/issues/new#) in ones(shape, dtype, order, device, usm_type, sycl_queue)
250 """Validate input parameters before passing them into `dpctl.tensor` module"""
251 dpu.validate_usm_type(usm_type, allow_none=False)
--> 252 sycl_queue_normalized = dpnp.get_normalized_queue_device(
253 sycl_queue=sycl_queue, device=device
254 )
[/usr/local/lib/python3.12/dist-packages/dpnp/dpnp_iface.py](https://github.com/IntelPython/dpnp/issues/new#) in get_normalized_queue_device(obj, device, sycl_queue)
560 sycl_queue = obj.sycl_queue
561
--> 562 return normalize_queue_device(sycl_queue=sycl_queue, device=device)
563
564
[/usr/local/lib/python3.12/dist-packages/dpctl/tensor/_device.py](https://github.com/IntelPython/dpnp/issues/new#) in normalize_queue_device(sycl_queue, device)
170 d = device
171 if q is None:
--> 172 d = Device.create_device(d)
173 return d.sycl_queue
174 if not isinstance(q, dpctl.SyclQueue):
[/usr/local/lib/python3.12/dist-packages/dpctl/tensor/_device.py](https://github.com/IntelPython/dpnp/issues/new#) in create_device(cls, device)
75 else:
76 if dev is None:
---> 77 _dev = _cached_default_device()
78 else:
79 _dev = dpctl.SyclDevice(dev)
dpctl/_sycl_device_factory.pyx in dpctl._sycl_device_factory._cached_default_device()
dpctl/_sycl_device_factory.pyx in dpctl._sycl_device_factory._cached_default_device()
dpctl/_sycl_device_factory.pyx in dpctl._sycl_device_factory._DefaultDeviceCache.get_or_create()
dpctl/_sycl_device_factory.pyx in dpctl._sycl_device_factory.select_default_device()
SyclDeviceCreationError: Default device is unavailable.
Steps to reproduce:
!lscpulscpu:Details
%pip install --index-url https://software.repos.intel.com/python/pypi dpnpDetails
Attempt to use it with the default device (e.g.
import dpnp; dpnp.ones(3))Get the following
SyclDeviceCreationError: Default device is unavailable.Full traceback:
Details
https://colab.research.google.com/drive/1nj576i49MDq3Ts_4oshz_BP48AAaRTdp?usp=sharing