Skip to content

Commit 5229880

Browse files
Fixed erroneous semicolon in docstring examples
1 parent 68f485c commit 5229880

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dpctl/_sycl_device.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ cdef class SyclDevice(_SyclDevice):
212212
213213
# Create a SyclDevice with an explicit filter string,
214214
# in this case the first level_zero gpu device.
215-
level_zero_gpu = dpctl.SyclDevice("level_zero:gpu:0"):
215+
level_zero_gpu = dpctl.SyclDevice("level_zero:gpu:0")
216216
level_zero_gpu.print_device_info()
217217
218218
- by calling one of the device selector helper functions:
@@ -231,7 +231,7 @@ cdef class SyclDevice(_SyclDevice):
231231
232232
# Create a SyclDevice of type GPU based on whatever is returned
233233
# by the SYCL `gpu_selector` device selector class.
234-
gpu = dpctl.select_gpu_device():
234+
gpu = dpctl.select_gpu_device()
235235
gpu.print_device_info()
236236
237237
Args:

0 commit comments

Comments
 (0)