Skip to content

Commit

Permalink
Try to fix some formatting to tensor_<name>_mode_<#> for some elemadd…
Browse files Browse the repository at this point in the history
…, matmul, elemadd3
  • Loading branch information
weiya711 committed Dec 6, 2022
1 parent 5e7edb9 commit 8d75c56
Show file tree
Hide file tree
Showing 70 changed files with 40,424 additions and 27,346 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/python-package-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ jobs:
runs-on: ubuntu-latest
strategy:
max-parallel: 5

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.8.12
Expand All @@ -21,11 +20,18 @@ jobs:
- name: Install dependencies
run: |
conda env update --file environment.yml --name base
- name: Test with pytest
- name: Test all (non SuiteSparse and Frostt) tests with pytest
working-directory: ./sam/sim
run: |
cd sam/sim
echo $CI
pytest
- name: Test all SuiteSparse tests with pytest using data/ matrices
working-directory: ./sam/sim
run: |
set SUITESPARSE_FORMATTED_PATH=sam/data/suitesparse-formatted/
set SUITESPARSE_PATH=sam/data/suitesparse/
for line in sam/scripts/tensor_names/suitesparse_ci.txt; do
pytest --ssname $line --check-gold; done
- name: Lint with flake8
run: |
conda install flake8
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# The Sparse Abstract Machine (SAM) IR, Compiler, and Simulator

[Master Makefile CI](https://github.com/weiya711/sam/actions/workflows/makefile.yml/badge.svg?branch=master)
[Master Python CI](https://github.com/weiya711/sam/actions/workflows/python-package-conda.yml/badge.svg?branch=master)
![Master Makefile CI](https://github.com/weiya711/sam/actions/workflows/makefile.yml/badge.svg?branch=master)
![Master Python CI](https://github.com/weiya711/sam/actions/workflows/python-package-conda.yml/badge.svg?branch=master)

## SAM Front-end Compiler

Expand Down
Empty file.
Empty file.
Empty file.
1 change: 1 addition & 0 deletions data/other/lp_scsd1-vec_mode1-0.001.tns
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
598 1
132 changes: 66 additions & 66 deletions data/suitesparse-formatted/bcsstm02/mat_elemadd/tensor_B_mode_vals
Original file line number Diff line number Diff line change
@@ -1,66 +1,66 @@
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0.09213858051
0.09213858051
0.09213858051
0.137995737983
0.137995737983
0.137995737983
0.137995737983
0.137995737983
0.137995737983
0.09213858051
0.09213858051
0.09213858051
0.172828573455
0.172828573455
0.172828573455
0.0852383576022
0.0852383576022
0.0852383576022
0.0852383576022
0.0852383576022
0.0852383576022
0.172828573455
0.172828573455
0.172828573455
0.0617332189107
0.0617332189107
0.0617332189107
0.141308341476
0.141308341476
0.141308341476
0.141308341476
0.141308341476
0.141308341476
0.0617332189107
0.0617332189107
0.0617332189107
0.125426638452
0.125426638452
0.125426638452
0.0533208927371
0.0533208927371
0.0533208927371
0.0533208927371
0.0533208927371
0.0533208927371
0.125426638452
0.125426638452
0.125426638452
0.0231706100487
0.0231706100487
0.0231706100487
0.0305931884075
0.0305931884075
0.0305931884075
0.0648568699369
0.0648568699369
0.0648568699369
0.0648568699369
0.0648568699369
0.0648568699369
0.0305931884075
0.0305931884075
0.0305931884075
0.019746938665
0.019746938665
0.019746938665
132 changes: 66 additions & 66 deletions data/suitesparse-formatted/bcsstm02/mat_elemadd/tensor_C_mode_vals
Original file line number Diff line number Diff line change
@@ -1,66 +1,66 @@
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
Loading

0 comments on commit 8d75c56

Please sign in to comment.