summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorSayed Adel <seiko@imavr.com>2022-09-22 14:40:52 +0200
committerSayed Adel <seiko@imavr.com>2022-09-22 14:46:34 +0200
commit73e887aa716abf3854695fd8f930ad8d5d188044 (patch)
tree21f9e3932e65fd882a55941b21dbbf1b92cdf731 /.github
parent54f9b4aba9f2b98b59a32eb0d003c6ea6dd8f4c8 (diff)
downloadnumpy-73e887aa716abf3854695fd8f930ad8d5d188044.tar.gz
CI, SIMD: Test and build without the support of AVX2 and AVX512
Most CI nodes have the support of AVX 512, and AVX2 which leaves the SSE SIMD kernels untested and only counts on internal universal intrinsic tests wich may not be enough.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build_test.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.yml
index 67986ef63..7d9c63fd5 100644
--- a/.github/workflows/build_test.yml
+++ b/.github/workflows/build_test.yml
@@ -134,6 +134,36 @@ jobs:
python-version: ${{ env.PYTHON_VERSION }}
- uses: ./.github/actions
+ without_avx512:
+ needs: [smoke_test]
+ runs-on: ubuntu-latest
+ env:
+ CPU_DISPATCH: "max -xop -fma4 -avx512f -avx512cd -avx512_knl -avx512_knm -avx512_skx -avx512_clx -avx512_cnl -avx512_icl"
+ steps:
+ - uses: actions/checkout@v3
+ with:
+ submodules: recursive
+ fetch-depth: 0
+ - uses: actions/setup-python@v3
+ with:
+ python-version: ${{ env.PYTHON_VERSION }}
+ - uses: ./.github/actions
+
+ without_avx512_avx2_fma3:
+ needs: [smoke_test]
+ runs-on: ubuntu-latest
+ env:
+ CPU_DISPATCH: "SSSE3 SSE41 POPCNT SSE42 AVX F16C"
+ steps:
+ - uses: actions/checkout@v3
+ with:
+ submodules: recursive
+ fetch-depth: 0
+ - uses: actions/setup-python@v3
+ with:
+ python-version: ${{ env.PYTHON_VERSION }}
+ - uses: ./.github/actions
+
debug:
needs: [smoke_test]
runs-on: ubuntu-20.04