File tree 2 files changed +2
-3
lines changed
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ jobs:
104
104
- name : Run Python Microarch Test with SDE
105
105
run : |
106
106
cd bindings/python
107
- for flag in nhm hsw skx clx icl spr ; do
107
+ for flag in nhm hsw skx clx icl; do
108
108
echo "SDE emulation: $flag"
109
109
export SDE_FLAG=$flag
110
110
sde64 -$flag -- python -c "import svs; svs.microarch.describe()"
Original file line number Diff line number Diff line change 20
20
21
21
class MicroarchTester (unittest .TestCase ):
22
22
def test_microarch (self ):
23
- supported_microarchs = svs .microarch .supported
24
23
# Get emulated microarch from SDE_FLAG or use the host CPU
25
24
host_microarch = os .environ .get ("SDE_FLAG" , cpu .host ().name )
26
25
mapping = {
@@ -34,5 +33,5 @@ def test_microarch(self):
34
33
}
35
34
host_microarch = mapping .get (host_microarch , host_microarch )
36
35
37
- if host_microarch in supported_microarchs :
36
+ if host_microarch in svs . microarch . compiled :
38
37
self .assertTrue (host_microarch == svs .microarch .current )
You can’t perform that action at this time.
0 commit comments