Skip to content

Commit

Permalink
tests: Add advanced mode testing for linear algebra examples
Browse files Browse the repository at this point in the history
  • Loading branch information
georgebisbas committed Apr 26, 2021
1 parent a8a33dc commit 0b904b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ jobs:
- name: Linear algebra example
run: |
python examples/misc/linalg.py mat-vec mat-mat-sum transpose-mat-vec
python examples/misc/linalg.py mat-vec mat-mat mat-mat-sum transpose-mat-vec
python examples/misc/linalg.py mat-vec -o mat-mat -o mat-mat-sum -o transpose-mat-vec -o
- name: CFD examples
run: |
Expand Down
2 changes: 1 addition & 1 deletion examples/misc/linalg.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def callback_shape(ctx, param, value):

def callback_opts(ctx, param, value):
if value is True:
return ('blocking', 'simd', 'openmp', {'blockinner': True})
return 'advanced'
else:
return 'noop'

Expand Down

0 comments on commit 0b904b3

Please sign in to comment.