fix avx detection for py3
This commit is contained in:
parent
c4db61c7f5
commit
2a25b1c2b3
1 changed files with 1 additions and 2 deletions
|
|
@ -50,8 +50,7 @@ def detect_osx_like():
|
|||
stdout=subprocess.PIPE)
|
||||
except OSError:
|
||||
return False
|
||||
|
||||
features = info.stdout.read()
|
||||
features = info.stdout.read().decode('UTF8')
|
||||
features = features.split()
|
||||
return 'AVX1.0' in features and 'OSXSAVE' in features and 'XSAVE' in features
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue