Skip to content

Commit 86625c8

Browse files
Updated some method calls, e.g. removed SyclQueue.get_sycl_backend() method
1 parent 5544129 commit 86625c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dpctl/_sycl_queue_manager.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ cdef class _SyclQueueManager:
7878
Returns:
7979
backend_type: The SYCL backend for the currently selected queue.
8080
"""
81-
return self.get_current_queue().get_sycl_backend()
81+
return self.get_current_queue().backend
8282

8383
cpdef get_current_device_type(self):
8484
"""
@@ -88,7 +88,7 @@ cdef class _SyclQueueManager:
8888
device_type: The SYCL device type for the currently selected queue.
8989
Possible values can be gpu, cpu, accelerator, or host.
9090
"""
91-
return self.get_current_queue().get_sycl_device().device_type
91+
return self.get_current_queue().sycl_device.device_type
9292

9393
cpdef SyclQueue get_current_queue(self):
9494
"""

0 commit comments

Comments
 (0)