Skip to content

Commit

Permalink
Add simple saxpy test
Browse files Browse the repository at this point in the history
  • Loading branch information
alecbcs committed Nov 8, 2023
1 parent b3472f9 commit 0cfdef8
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
outputs:
docs: ${{ steps.filter.outputs.docs }}
style: ${{ steps.filter.outputs.style }}
run: ${{ steps.filter.outputs.run }}

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # @v2
Expand All @@ -41,6 +42,12 @@ jobs:
- 'docs/conf.py'
- 'experiments/**'
- 'repo/**'
run:
- '.github/**'
- 'bin/**'
- 'configs/**'
- 'experiments/**'
- 'repo/**'
docs:
if: ${{ needs.changes.outputs.docs == 'true' }}
Expand All @@ -51,3 +58,8 @@ jobs:
if: ${{ needs.changes.outputs.style == 'true' }}
needs: changes
uses: ./.github/workflows/style.yml

run:
if: ${{ needs.changes.outputs.run == 'true' }}
needs: changes
uses: ./.github/workflows/run.yml
25 changes: 25 additions & 0 deletions .github/workflows/run.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Run Benchpark and Simple Benchmark Suite
on:
# This Workflow can be triggered manually
workflow_dispatch:
workflow_call:

jobs:
saxpy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11

- name: Setup Saxpy Workspace
run: |
./bin/benchpark setup saxpy/openmp x86 workspace/
cd workspace/
ramble -P -D . workspace setup
- name: Run Saxpy
run: |
ramble on -P -D . on
- name: Analyze Saxpy
run: |
ramble -P -D . workspace setup

0 comments on commit 0cfdef8

Please sign in to comment.