File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -288,6 +288,7 @@ jobs:
288288 OPENBLAS_VERSION : 0.3.23
289289 OPENCL_VERSION : 2023.04.17
290290 CLBLAST_VERSION : 1.6.0
291+ SDE_VERSION : 9.21.1-2023-04-24
291292
292293 strategy :
293294 matrix :
@@ -383,11 +384,23 @@ jobs:
383384
384385 - name : Test
385386 id : cmake_test
386- if : ${{ matrix.build != 'clblast' && (matrix.build != 'avx512' || env.HAS_AVX512F == '1') }} # Test AVX-512 only when possible
387+ if : ${{ matrix.build != 'clblast' && (matrix.build != 'avx512' || env.HAS_AVX512F == '1') }} # not all machines have native AVX-512
387388 run : |
388389 cd build
389390 ctest -C Release --verbose --timeout 900
390391
392+ - name : Test (Intel SDE)
393+ id : cmake_test_sde
394+ if : ${{ matrix.build == 'avx512' && env.HAS_AVX512F == '0' }} # use Intel SDE for AVX-512 emulation
395+ run : |
396+ curl.exe -o $env:RUNNER_TEMP/sde.tar.xz -L "https://downloadmirror.intel.com/777395/sde-external-${env:SDE_VERSION}-win.tar.xz"
397+ # for some weird reason windows tar doesn't like sde tar.xz
398+ 7z x "-o${env:RUNNER_TEMP}" $env:RUNNER_TEMP/sde.tar.xz
399+ 7z x "-o${env:RUNNER_TEMP}" $env:RUNNER_TEMP/sde.tar
400+ $sde = $(join-path $env:RUNNER_TEMP sde-external-${env:SDE_VERSION}-win/sde.exe)
401+ cd build
402+ & $sde -future -- ctest -C Release --verbose --timeout 900
403+
391404 - name : Determine tag name
392405 id : tag
393406 shell : bash
You can’t perform that action at this time.
0 commit comments