-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into rework_tiles_onetomanyassoc
- Loading branch information
Showing
44 changed files
with
2,196,910 additions
and
10,231 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: Run benchmark and profiling | ||
|
||
# The workflow gets triggered by pushes and pull requests | ||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
|
||
steps: | ||
# checks out the code in the repository | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install matplotlib | ||
- name: Compile and run benchmark | ||
working-directory: ${{ github.workspace }}/benchmark/dataset_size | ||
run: | | ||
cmake -B build -DCMAKE_BUILD_TYPE=Release | ||
cmake --build build -- -j 2 | ||
./build/serial.out 10 18 | ||
# TODO: this works on local but not on github actions | ||
# - name: Compile and run profiling | ||
# working-directory: ${{ github.workspace }}/benchmark/profiling | ||
# run: | | ||
# cmake -B build/Debug -DCMAKE_BUILD_TYPE=Debug | ||
# cmake --build build/Debug -- -j 2 | ||
# cmake -B build/Release -DCMAKE_BUILD_TYPE=Release | ||
# cmake --build build/Release -- -j 2 | ||
# ./build/Debug/serial.out ../../data/data_32768.csv | ||
# gprof ./build/Debug/serial.out ../../data/data_32768.csv | ||
# ./build/Release/serial.out ../../data/data_32768.csv | ||
# gprof ./build/Release/serial.out ../../data/data_32768.csv | ||
|
||
# - name: Check cache misses with perf | ||
# working-directory: ${{ github.workspace }}/benchmark/profiling | ||
# run: | | ||
# perf stat -B -e cache-misses,cycles,instructions,branches ./build/Debug/serial.out ../../data/data_32768.csv | ||
# perf stat -B -e cache-misses,cycles,instructions,branches ./build/Release/serial.out ../../data/data_32768.csv | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.