Skip to content

Commit 06b2b42

Browse files
Merge pull request #44 from PrincetonUniversity/devel
Devel
2 parents 552c8e6 + 1b73396 commit 06b2b42

File tree

211 files changed

+18867
-120
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

211 files changed

+18867
-120
lines changed

.clang-format

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
# BasedOnStyle: LLVM
3+
AccessModifierOffset: -2
4+
ConstructorInitializerIndentWidth: 4
5+
AlignEscapedNewlinesLeft: false
6+
AlignTrailingComments: true
7+
AllowAllParametersOfDeclarationOnNextLine: true
8+
AllowShortIfStatementsOnASingleLine: false
9+
AllowShortLoopsOnASingleLine: false
10+
AlwaysBreakTemplateDeclarations: false
11+
AlwaysBreakBeforeMultilineStrings: false
12+
BreakBeforeBinaryOperators: false
13+
BreakBeforeTernaryOperators: true
14+
BreakConstructorInitializersBeforeComma: false
15+
BinPackParameters: true
16+
ColumnLimit: 80
17+
ConstructorInitializerAllOnOneLineOrOnePerLine: false
18+
DerivePointerBinding: false
19+
ExperimentalAutoDetectBinPacking: false
20+
IndentCaseLabels: false
21+
MaxEmptyLinesToKeep: 1
22+
NamespaceIndentation: None
23+
ObjCSpaceBeforeProtocolList: true
24+
PenaltyBreakBeforeFirstCallParameter: 19
25+
PenaltyBreakComment: 60
26+
PenaltyBreakString: 1000
27+
PenaltyBreakFirstLessLess: 120
28+
PenaltyExcessCharacter: 1000000
29+
PenaltyReturnTypeOnItsOwnLine: 60
30+
PointerBindsToType: false
31+
SpacesBeforeTrailingComments: 1
32+
Cpp11BracedListStyle: false
33+
Standard: Cpp03
34+
IndentWidth: 2
35+
TabWidth: 8
36+
UseTab: Never
37+
BreakBeforeBraces: Attach
38+
IndentFunctionDeclarationAfterType: false
39+
SpacesInParentheses: false
40+
SpacesInAngles: false
41+
SpaceInEmptyParentheses: false
42+
SpacesInCStyleCastParentheses: false
43+
SpaceAfterControlStatementKeyword: true
44+
SpaceBeforeAssignmentOperators: true
45+
ContinuationIndentWidth: 4
46+
...

.firebaserc

Lines changed: 0 additions & 5 deletions
This file was deleted.

.github/workflows/build-docs-on-PR.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

.github/workflows/compilation.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: Build
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build-serial:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Check GNU and Cmake versions
10+
run: gcc --version && cmake --version
11+
- name: Checkout repository
12+
uses: actions/checkout@v1
13+
- name: Get submodules
14+
run: git submodule init
15+
&& git submodule update
16+
- name: Configure Serial build
17+
run: cmake -S . -B build
18+
- name: Build
19+
run: cmake --build build
20+
build-openmp:
21+
runs-on: ubuntu-latest
22+
steps:
23+
- name: Check GNU and Cmake versions
24+
run: gcc --version && cmake --version
25+
- name: Checkout repository
26+
uses: actions/checkout@v1
27+
- name: Get submodules
28+
run: git submodule init
29+
&& git submodule update
30+
- name: Configure OpenMP build
31+
run: cmake -S . -B build -DKokkos_ENABLE_OPENMP=ON
32+
- name: Build
33+
run: cmake --build build
34+
build-ampere80:
35+
runs-on: ubuntu-latest
36+
steps:
37+
- name: Check GNU and Cmake versions
38+
run: gcc --version && cmake --version
39+
- name: Install Cuda Toolkit
40+
uses: Jimver/[email protected]
41+
id: cuda-toolkit
42+
with:
43+
cuda: '11.7.0'
44+
- name: Checkout repository
45+
uses: actions/checkout@v1
46+
- name: Get submodules
47+
run: git submodule init
48+
&& git submodule update
49+
- name: Configure OPENMP & CUDA build
50+
run: cmake -S . -B build -DKokkos_ENABLE_OPENMP=ON -DKokkos_ENABLE_CUDA=ON -DKokkos_ARCH_AMPERE80=ON -DKokkos_ENABLE_CUDA_LAMBDA=ON -DKokkos_ENABLE_CUDA_RELOCATABLE_DEVICE_CODE=ON
51+
- name: Build
52+
run: cmake --build build

.github/workflows/cpp-linter-checks.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Docs
33
on:
44
#push:
55
# branches-ignore:
6-
# - '**'
6+
# - '**'
77
push:
88
branches: [ main ]
99

@@ -31,4 +31,4 @@ jobs:
3131
with:
3232
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3333
BRANCH: gh-pages # The branch the action should deploy to.
34-
FOLDER: docs/_build/html # The folder the action should deploy.
34+
FOLDER: docs/_build/html # The folder the action should deploy.

.github/workflows/unittests.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Unittests
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build-and-test:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Check GNU and Cmake versions
10+
run: gcc --version && cmake --version
11+
- name: Checkout repository
12+
uses: actions/checkout@v1
13+
- name: Get submodules
14+
run: git submodule init
15+
&& git submodule update
16+
- name: Configure
17+
run: cmake -S . -B build
18+
- name: Build
19+
run: cmake --build build
20+
- name: Run all tests
21+
run: cd build/tests/unittests
22+
&& ctest

.gitignore

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
.DS_Store
33
build/
44
_build/
5-
_static/
65
_templates/
76
public/
8-
firebase*.yml
7+
firebase*.yml
8+
*.out
9+
debug.sh
10+
output.log
11+
run.sh
12+
results/

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "boost-cmake"]
2+
path = boost-cmake
3+
url = https://github.com/Orphis/boost-cmake.git

.pre-commit-config.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: "v4.3.0"
4+
hooks:
5+
- id: check-case-conflict
6+
- id: check-merge-conflict
7+
- id: check-symlinks
8+
- id: check-yaml
9+
- id: end-of-file-fixer
10+
- id: mixed-line-ending
11+
- id: requirements-txt-fixer
12+
- id: trailing-whitespace
13+
- repo: https://github.com/pre-commit/mirrors-clang-format
14+
rev: "v14.0.5"
15+
hooks:
16+
- id: clang-format
17+
types_or: [c++]

0 commit comments

Comments
 (0)