Skip to content

Commit 3ead0af

Browse files
Fixed typo in the example
1 parent bca41f1 commit 3ead0af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/python/sycl_queue.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def create_queue_from_subdevice_multidevice_context():
8181
print(f"{cpu_d} has {cpu_d.max_compute_units} compute units")
8282
return
8383
ctx = dpctl.SyclContext(sub_devs)
84-
q = dpctl.SyclQueue(ctx, sub_devs[0], partition="enable_profiling")
84+
q = dpctl.SyclQueue(ctx, sub_devs[0], property="enable_profiling")
8585
print(
8686
"Number of devices in SyclContext " "associated with the queue: ",
8787
q.sycl_context.device_count,

0 commit comments

Comments
 (0)