File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -212,7 +212,7 @@ cdef class SyclDevice(_SyclDevice):
212
212
213
213
# Create a SyclDevice with an explicit filter string,
214
214
# 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")
216
216
level_zero_gpu.print_device_info()
217
217
218
218
- by calling one of the device selector helper functions:
@@ -231,7 +231,7 @@ cdef class SyclDevice(_SyclDevice):
231
231
232
232
# Create a SyclDevice of type GPU based on whatever is returned
233
233
# by the SYCL `gpu_selector` device selector class.
234
- gpu = dpctl.select_gpu_device():
234
+ gpu = dpctl.select_gpu_device()
235
235
gpu.print_device_info()
236
236
237
237
Args:
You can’t perform that action at this time.
0 commit comments