Skip to content

Commit

Permalink
Setup CI for more Avx512 sub architectures
Browse files Browse the repository at this point in the history
  • Loading branch information
serge-sans-paille committed Dec 4, 2023
1 parent f299d20 commit 53f7b3d
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ jobs:
#- { compiler: 'gcc', version: '10', flags: 'avx512' } buggy
- { compiler: 'gcc', version: '11', flags: 'avx512' }
- { compiler: 'gcc', version: '11', flags: 'i386' }
- { compiler: 'gcc', version: '11', flags: 'avx512cd' }
- { compiler: 'gcc', version: '11', flags: 'avx512pf' }
- { compiler: 'gcc', version: '11', flags: 'avx512vbmi' }
- { compiler: 'gcc', version: '11', flags: 'avx512vnni' }
- { compiler: 'clang', version: '8', flags: 'force_no_instr_set' }
- { compiler: 'clang', version: '10', flags: 'enable_xtl_complex' }
- { compiler: 'clang', version: '12', flags: 'avx' }
Expand Down Expand Up @@ -93,7 +95,13 @@ jobs:
if [[ '${{ matrix.sys.flags }}' == 'avx512' ]]; then
CMAKE_EXTRA_ARGS="$CMAKE_EXTRA_ARGS -DTARGET_ARCH=skylake-avx512"
fi
if [[ '${{ matrix.sys.flags }}' == 'avx512cd' ]]; then
if [[ '${{ matrix.sys.flags }}' == 'avx512pf' ]]; then
CMAKE_EXTRA_ARGS="$CMAKE_EXTRA_ARGS -DTARGET_ARCH=knl"
fi
if [[ '${{ matrix.sys.flags }}' == 'avx512vbmi' ]]; then
CMAKE_EXTRA_ARGS="$CMAKE_EXTRA_ARGS -DTARGET_ARCH=cannonlake"
fi
if [[ '${{ matrix.sys.flags }}' == 'avx512vnni' ]]; then
CMAKE_EXTRA_ARGS="$CMAKE_EXTRA_ARGS -DTARGET_ARCH=knm"
fi
if [[ '${{ matrix.sys.flags }}' == 'i386' ]]; then
Expand All @@ -116,7 +124,7 @@ jobs:
run: |
cd _build
cd test
if [[ '${{ matrix.sys.flags }}' == 'avx512' || '${{ matrix.sys.flags }}' == 'avx512cd' ]]; then
if [[ '${{ matrix.sys.flags }}' == 'avx512' || '${{ matrix.sys.flags }}' == 'avx512vnni' ]]; then
../../sde-external-8.69.1-2021-07-18-lin/sde64 -skx -- ./test_xsimd
else
./test_xsimd
Expand Down

0 comments on commit 53f7b3d

Please sign in to comment.