-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #271 from chillenzer/topic-flatterScatter
FlatterScatter
- Loading branch information
Showing
40 changed files
with
5,658 additions
and
19,571 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 |
---|---|---|
@@ -1,10 +1,7 @@ | ||
name: pre-commit | ||
on: | ||
pull_request: | ||
push: | ||
branches: [main, test-me-*] | ||
name: Continuous Integration | ||
on: [push, pull_request] | ||
jobs: | ||
main: | ||
pre-commit: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
@@ -14,3 +11,33 @@ jobs: | |
- uses: pre-commit/[email protected] | ||
- uses: pre-commit-ci/[email protected] | ||
if: always() | ||
cpu-tests: | ||
# This action only runs on various CPU backends. | ||
# As such, this is not a fully-fletched production-like test. | ||
# Hopefully, it will still save us from a few stupid mistakes. | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: sudo apt update && sudo apt install libboost-all-dev | ||
- run: mkdir build_dir | ||
- working-directory: build_dir | ||
run: | | ||
git submodule init && git submodule update | ||
- working-directory: build_dir | ||
run: | | ||
cmake .. \ | ||
-DCMAKE_CXX_FLAGS="-std=c++20 -g" \ | ||
-Dalpaka_CXX_STANDARD=20 \ | ||
-DmallocMC_CATCH2_PROVIDER=intern \ | ||
-Dalpaka_ACC_CPU_B_OMP2_T_SEQ_ENABLE:BOOL=ON \ | ||
-Dalpaka_ACC_CPU_B_SEQ_T_OMP2_ENABLE:BOOL=ON \ | ||
-Dalpaka_ACC_CPU_B_SEQ_T_SEQ_ENABLE:BOOL=ON \ | ||
-Dalpaka_ACC_CPU_B_SEQ_T_THREADS_ENABLE:BOOL=ON | ||
- working-directory: build_dir | ||
run: make -j tests examples | ||
- working-directory: build_dir | ||
run: ./tests | ||
- working-directory: build_dir | ||
run: ./mallocMC_Example01 | ||
- working-directory: build_dir | ||
run: ./mallocMC_Example03 |
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,3 @@ | ||
[submodule "thirdParty/catch2"] | ||
path = thirdParty/catch2 | ||
url = https://github.com/catchorg/catch2 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,40 @@ | ||
mallocMC: Memory Allocation for Many Core Architectures | ||
/* | ||
mallocMC: Memory Allocation for Many Core Architectures | ||
|
||
based on the work of ScatterAlloc: | ||
Massively Parallel Dynamic Memory Allocation for the GPU | ||
based on the work of ScatterAlloc: | ||
Massively Parallel Dynamic Memory Allocation for the GPU | ||
|
||
http://www.icg.tugraz.at/project/mvp | ||
https://www.hzdr.de/crp | ||
http://www.icg.tugraz.at/project/mvp | ||
https://www.hzdr.de/crp | ||
|
||
Copyright (C) 2012 Institute for Computer Graphics and Vision, | ||
Graz University of Technology | ||
Copyright (C) 2014-2015 Institute of Radiation Physics, | ||
Helmholtz-Zentrum Dresden - Rossendorf | ||
Copyright (C) 2012 Institute for Computer Graphics and Vision, | ||
Graz University of Technology | ||
Copyright (C) 2014-2024 Institute of Radiation Physics, | ||
Helmholtz-Zentrum Dresden - Rossendorf | ||
|
||
Author(s): Markus Steinberger - steinberger ( at ) icg.tugraz.at | ||
Bernhard Kainz - kainz ( at ) icg.tugraz.at | ||
Michael Kenzel - kenzel ( at ) icg.tugraz.at | ||
Rene Widera - r.widera ( at ) hzdr.de | ||
Axel Huebl - a.huebl ( at ) hzdr.de | ||
Carlchristian Eckert - c.eckert ( at ) hzdr.de | ||
Author(s): Markus Steinberger - steinberger ( at ) icg.tugraz.at | ||
Bernhard Kainz - kainz ( at ) icg.tugraz.at | ||
Michael Kenzel - kenzel ( at ) icg.tugraz.at | ||
Rene Widera - r.widera ( at ) hzdr.de | ||
Axel Huebl - a.huebl ( at ) hzdr.de | ||
Carlchristian Eckert - c.eckert ( at ) hzdr.de | ||
Julian Lenz - j.lenz ( at ) hzdr.de | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. | ||
*/ |
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.