Skip to content

Commit d363341

Browse files
removed incorrect comment
1 parent a1f6482 commit d363341

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/python/sycl_queue.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,7 @@ def create_queue_from_subdevice_multidevice_context():
7171
cpu_d = dpctl.SyclDevice("opencl:cpu:0")
7272
sub_devs = cpu_d.create_sub_devices(partition=4)
7373
ctx = dpctl.SyclContext(sub_devs)
74-
q = dpctl.SyclQueue(ctx, sub_devs[0])
75-
# a single-device context is created automatically
74+
q = dpctl.SyclQueue(ctx, sub_devs[0], partition="enable_profiling")
7675
print(
7776
"Number of devices in SyclContext " "associated with the queue: ",
7877
q.sycl_context.device_count,

0 commit comments

Comments
 (0)