We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1f6482 commit d363341Copy full SHA for d363341
examples/python/sycl_queue.py
@@ -71,8 +71,7 @@ def create_queue_from_subdevice_multidevice_context():
71
cpu_d = dpctl.SyclDevice("opencl:cpu:0")
72
sub_devs = cpu_d.create_sub_devices(partition=4)
73
ctx = dpctl.SyclContext(sub_devs)
74
- q = dpctl.SyclQueue(ctx, sub_devs[0])
75
- # a single-device context is created automatically
+ q = dpctl.SyclQueue(ctx, sub_devs[0], partition="enable_profiling")
76
print(
77
"Number of devices in SyclContext " "associated with the queue: ",
78
q.sycl_context.device_count,
0 commit comments