Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
gha3mi committed Jan 17, 2024
1 parent d9725c7 commit 6650b7e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 23 deletions.
20 changes: 1 addition & 19 deletions .github/workflows/CI_benchmark_dot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,32 +33,14 @@ jobs:
compiler: ${{ matrix.toolchain.compiler }}
version: ${{ matrix.toolchain.version }}

- name: dot benchmark ifx
run: fpm test dot --profile release --compiler ${{ env.FC}} --flag "-Ofast -mtune=native -xHost -qmkl -qopenmp -DINT64"
if: ${{ env.FC}} == 'ifx'
env:
FC: ${{ steps.setup-fortran.outputs.fc }}

- name: dot benchmark gfortran
run: fpm test dot --profile release --compiler ${{ env.FC}} --flag "-Ofast -march=native -llapack -lblas -fopenmp -flto -DINT64"
if: ${{ env.FC}} == 'gfortran'
env:
FC: ${{ steps.setup-fortran.outputs.fc }}

- name: dot benchmark nvfortran
run: fpm test dot --profile release --compiler ${{ env.FC}} --flag "-Ofast -fast -march=native -mtune=native -stdpar=gpu,multicore -llapack -lblas -openmp -DINT64"
if: ${{ env.FC}} == 'nvfortran'
env:
FC: ${{ steps.setup-fortran.outputs.fc }}

- name: dot benchmark
run: fpm @benchamrk-dot-${{ env.FC}}
env:
FC: ${{ steps.setup-fortran.outputs.fc }}

- name: dot benchmark (coarray)
run: fpm test dot --profile release --compiler ${{ env.FC}} --flag "-Ofast -mtune=native -xHost -qmkl -qopenmp -DINT64 -coarray -coarray-num-images=4 -DUSE_COARRAY"
if: ${{ env.FC}} == 'ifx'
run: fpm @benchamrk-dot-${{ env.FC}}-coarray
env:
FC: ${{ steps.setup-fortran.outputs.fc }}

Expand Down
8 changes: 4 additions & 4 deletions benchmarks/dot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
### ifx

```shell
fpm run --example dot --profile release --compiler ifx --flag "-Ofast -mtune=native -xHost -qmkl -qopenmp -DINT64"
fpm @benchmark-dot-ifx
```

```shell
Expand All @@ -17,7 +17,7 @@ cd benchmarks/dot && python results/export.py dot_intel.data && cd ../..
### gfortran

```shell
fpm run --example dot --profile release --compiler gfortran --flag "-Ofast -march=native -llapack -lblas -fopenmp -flto -DINT64"
fpm @benchmark-dot-gfortran
```
```shell
cd benchmarks/dot && python results/export.py dot_gfortran.data && cd ../..
Expand All @@ -28,7 +28,7 @@ cd benchmarks/dot && python results/export.py dot_gfortran.data && cd ../..
### nvidia

```shell
fpm run --example dot --profile release --compiler nvfortran --flag "-Ofast -fast -march=native -mtune=native -stdpar=gpu,multicore -llapack -lblas -openmp -DINT64"
fpm @benchmark-dot-nvfortran
```

```shell
Expand All @@ -42,7 +42,7 @@ cd benchmarks/dot && python results/export.py dot_nvfortran.data && cd ../..
### ifx

```shell
fpm run --example dot_co --profile release --compiler ifx --flag "-Ofast -mtune=native -xHost -qmkl -qopenmp -DINT64 -coarray -coarray-num-images=4 -DUSE_COARRAY"
fpm @benchmark-dot-ifx-coarray
```

```shell
Expand Down

0 comments on commit 6650b7e

Please sign in to comment.