Skip to content

Commit

Permalink
re-implement global to shared loader for row major layout.
Browse files Browse the repository at this point in the history
  • Loading branch information
lcy-seso committed Jan 6, 2025
1 parent b586a02 commit ca5d6cb
Show file tree
Hide file tree
Showing 8 changed files with 316 additions and 272 deletions.
11 changes: 10 additions & 1 deletion .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ ColumnLimit: 80
IndentWidth: 4
AccessModifierOffset: -2
DerivePointerAlignment: false
# If true, empty lines at the start of blocks are kept.
KeepEmptyLinesAtTheStartOfBlocks: false
SortIncludes: true
IncludeBlocks: Regroup
Expand All @@ -17,7 +18,15 @@ IncludeCategories:
Priority: 2
- Regex: '"([A-Za-z0-9.\Q/-_\E])+"'
Priority: 1

AllowShortLoopsOnASingleLine: true
AllowShortIfStatementsOnASingleLine: true
Cpp11BracedListStyle: true
# If true, always break after the template<...> of a template declaration.
AlwaysBreakTemplateDeclarations: true
# If false, a function declaration's or function definition's parameters will
# either all be on the same line or will have one line each.
BinPackArguments: true
BreakConstructorInitializersBeforeComma: true
# The maximum number of consecutive empty lines to keep.
MaxEmptyLinesToKeep: 1
35 changes: 18 additions & 17 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
{
"files.associations": {
"array": "cpp",
"string": "cpp",
"string_view": "cpp",
"span": "cpp",
"bitset": "cpp",
"initializer_list": "cpp",
"utility": "cpp",
"*.tcc": "cpp",
"chrono": "cpp",
"random": "cpp",
"limits": "cpp",
"semaphore": "cpp"
},
"gotoSymbolStack.currentStackPosition": 0,
"gotoSymbolStack.maxStackPosition": 0,
"gotoSymbolStack.filePositionInfo": []
"files.associations": {
"array": "cpp",
"string": "cpp",
"string_view": "cpp",
"span": "cpp",
"bitset": "cpp",
"initializer_list": "cpp",
"utility": "cpp",
"*.tcc": "cpp",
"chrono": "cpp",
"random": "cpp",
"limits": "cpp",
"semaphore": "cpp",
"regex": "cpp"
},
"gotoSymbolStack.currentStackPosition": 0,
"gotoSymbolStack.maxStackPosition": 0,
"gotoSymbolStack.filePositionInfo": []
}
Loading

0 comments on commit ca5d6cb

Please sign in to comment.