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 @@ -55,7 +55,7 @@ def create_queue_from_subdevice():
55
55
Create a queue from a sub-device.
56
56
"""
57
57
cpu_d = dpctl .SyclDevice ("opencl:cpu:0" )
58
- sub_devs = cpu_d .create_sub_devices (partition = 4 )
58
+ sub_devs = cpu_d .create_sub_devices (partition = 2 )
59
59
q = dpctl .SyclQueue (sub_devs [0 ])
60
60
# a single-device context is created automatically
61
61
print (
@@ -69,7 +69,7 @@ def create_queue_from_subdevice_multidevice_context():
69
69
Create a queue from a sub-device.
70
70
"""
71
71
cpu_d = dpctl .SyclDevice ("opencl:cpu:0" )
72
- sub_devs = cpu_d .create_sub_devices (partition = 4 )
72
+ sub_devs = cpu_d .create_sub_devices (partition = 2 )
73
73
ctx = dpctl .SyclContext (sub_devs )
74
74
q = dpctl .SyclQueue (ctx , sub_devs [0 ], partition = "enable_profiling" )
75
75
print (
You can’t perform that action at this time.
0 commit comments