We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5ce4f42 + 82d615d commit c0e9f69Copy full SHA for c0e9f69
dpctl/tensor/_device.py
@@ -114,6 +114,10 @@ def __repr__(self):
114
# This is a sub-device
115
return repr(self.sycl_queue)
116
117
+ def print_device_info(self):
118
+ "Outputs information about targeted SYCL device"
119
+ self.sycl_device.print_device_info()
120
+
121
def wait(self):
122
"""
123
Call ``wait`` method of the underlying ``sycl_queue``.
dpctl/tests/test_usm_ndarray_ctor.py
@@ -363,6 +363,7 @@ def test_datapi_device():
363
X.device.sycl_queue
364
X.device.sycl_device
365
repr(X.device)
366
+ X.device.print_device_info()
367
368
369
def _pyx_capi_fnptr_to_callable(
0 commit comments