Skip to content
Snippets Groups Projects
Commit 6c0c3ecd authored by Michael Kuron's avatar Michael Kuron :mortar_board:
Browse files

try again to fix test on Windows

parent 5292cc03
No related branches found
No related tags found
1 merge request!48RNG SIMD
Pipeline #30201 passed
......@@ -14,10 +14,10 @@ RNGs = {('philox', 'float'): PhiloxFourFloats, ('philox', 'double'): PhiloxTwoDo
instruction_sets = get_supported_instruction_sets()
if get_compiler_config()['os'] == 'windows':
# skip instruction sets supported by CPU but not the compiler
if '/arch:avx2' not in get_compiler_config()['flags'].lower() and \
'/arch:avx512' not in get_compiler_config()['flags'].lower():
if 'avx' in instruction_sets and ('/arch:avx2' not in get_compiler_config()['flags'].lower()
or '/arch:avx512' not in get_compiler_config()['flags'].lower()):
instruction_sets.remove('avx')
if '/arch:avx512' not in get_compiler_config()['flags'].lower():
if 'avx512' in instruction_sets and '/arch:avx512' not in get_compiler_config()['flags'].lower():
instruction_sets.remove('avx512')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment