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 c023ec0 commit cf4ea24Copy full SHA for cf4ea24
setup.py
@@ -325,17 +325,9 @@ def get_build_type():
325
326
327
def get_avx_version():
328
- avx_version = ''
329
- if _check_env_flag('AVX2'):
330
- avx_version = 'AVX2'
331
- elif _check_env_flag('AVX512'):
332
- avx_version = 'AVX512'
333
-
334
- if avx_version == '':
335
336
337
- if _check_env_flag('DYN_DISP'):
338
+ # disable isa level check for dyndisp turn on.
+ # need restruct all isa check code later.
+ avx_version = 'AVX2'
339
340
# print("The extension will be built with {}.".format(avx_version))
341
return avx_version
0 commit comments