Skip to content

Commit

Permalink
testing for portblas portfft
Browse files Browse the repository at this point in the history
  • Loading branch information
rscohn2 committed May 21, 2024
1 parent 90bc218 commit 1da2708
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,20 @@ jobs:
# One runner for each domain
strategy:
matrix:
domain: [blas, dft, lapack, rng]
name: MKL ${{ matrix.domain }} CPU
include:
- config: portBLAS
options: -DENABLE_PORTBLAS_BACKEND=ON -DENABLE_MKLCPU_BACKEND=OFF -DTARGET_DOMAINS=blas
- config: portFFT
options: -DENABLE_PORTFFT_BACKEND=ON -DENABLE_MKLCPU_BACKEND=OFF -DTARGET_DOMAINS=dft
- config: MKL BLAS
options: -DTARGET_DOMAINS=blas
- config: MKL DFT
options: -DTARGET_DOMAINS=dft
- config: MKL LAPACK
options: -DTARGET_DOMAINS=lapack
- config: MKL RNG
options: -DTARGET_DOMAINS=rng
name: ${{ matrix.config }} CPU
steps:
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- name: Restore netlib from cache
Expand Down Expand Up @@ -49,10 +61,9 @@ jobs:
- name: Configure/Build for a domain
run: |
source /opt/intel/oneapi/setvars.sh
cmake -DREF_BLAS_ROOT=${PWD}/lapack/install -DREF_LAPACK_ROOT=${PWD}/lapack/install -DENABLE_MKLGPU_BACKEND=off -DTARGET_DOMAINS=${{ matrix.domain }} -DCMAKE_VERBOSE_MAKEFILE=on -B build
cmake -DREF_BLAS_ROOT=${PWD}/lapack/install -DREF_LAPACK_ROOT=${PWD}/lapack/install -DENABLE_MKLGPU_BACKEND=off -DCMAKE_VERBOSE_MAKEFILE=on ${{ matrix.options }} -B build
cmake --build build ${PARALLEL}
- name: Run tests
run: |
source /opt/intel/oneapi/setvars.sh
# Run tests, skip GPU tests
ctest --test-dir build -j 1 -E 'ct$'
ctest --test-dir build

0 comments on commit 1da2708

Please sign in to comment.