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):
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:
You can’t perform that action at this time.
0 commit comments