File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11# Data Parallel Control (dpctl)
22#
3- # Copyright 2020-2022 Intel Corporation
3+ # Copyright 2020-2023 Intel Corporation
44#
55# Licensed under the Apache License, Version 2.0 (the "License");
66# you may not use this file except in compliance with the License.
@@ -69,8 +69,8 @@ def test_is_in_device_context_inside_nested_device_ctxt_cpu():
6969 n = cpu .max_compute_units
7070 n_half = n // 2
7171 try :
72- d0 , d1 = cpu .create_subdevices (partition = [n_half , n - n_half ])
73- except Exception :
72+ d0 , d1 = cpu .create_sub_devices (partition = [n_half , n - n_half ])
73+ except dpctl . SyclSubDeviceCreationError :
7474 pytest .skip ("Could not create subdevices" )
7575 assert 0 == dpctl .get_num_activated_queues ()
7676 with dpctl .device_context (d0 ):
You can’t perform that action at this time.
0 commit comments