Skip to content

Commit

Permalink
Update clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
Pencilcaseman committed Nov 9, 2023
1 parent f636feb commit a54cc1e
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 19 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/continuous-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ jobs:
if: matrix.os == 'macos-latest'
uses: maxim-lobanov/setup-xcode@v1.5.1
with:
xcode-version: latest
xcode-version: latest

# Tests must pass in both debug and release mode
- name: Compile (Debug)
Expand Down Expand Up @@ -394,7 +394,7 @@ jobs:
run: |
sudo apt --fix-broken install
sudo apt-get install python3-sphinx
- name: Configure Files
run: |
touch .is_local
Expand Down Expand Up @@ -428,14 +428,14 @@ jobs:
- os: ubuntu-latest
cc: ../../llvm/bin/clang
cxx: ../../llvm/bin/clang++
clangVer: "15.0"
clangVer: "16.0"
smallArrays: ON
pretty: "LibRapid_Ubuntu_Clang_OptimiseSmallArrays"

- os: ubuntu-latest
cc: ../../llvm/bin/clang
cxx: ../../llvm/bin/clang++
clangVer: "15.0"
clangVer: "16.0"
smallArrays: OFF
pretty: "LibRapid_Ubuntu_Clang"

Expand Down Expand Up @@ -607,7 +607,7 @@ jobs:
run: |
cd IntermediateBenchmarkResults
tree
- name: Upload Intermediate Benchmark Results
uses: actions/upload-artifact@v3
with:
Expand Down
12 changes: 6 additions & 6 deletions librapid/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,8 @@ def getSeed():
__cpuTypeList = {
int32: _librapid.ArrayInt32CPU,
int64: _librapid.ArrayInt64CPU,
# uint32: _librapid.ArrayUInt32CPU,
# uint64: _librapid.ArrayUInt64CPU,
uint32: _librapid.ArrayUInt32CPU,
uint64: _librapid.ArrayUInt64CPU,
float32: _librapid.ArrayFloatCPU,
float64: _librapid.ArrayDoubleCPU,
# Complex32: _librapid.ArrayComplexFloatCPU,
Expand All @@ -259,8 +259,8 @@ def getSeed():
__openclTypeList = {
int32: _librapid.ArrayInt32OpenCL,
int64: _librapid.ArrayInt64OpenCL,
# uint32: _librapid.ArrayUInt32OpenCL,
# uint64: _librapid.ArrayUInt64OpenCL,
uint32: _librapid.ArrayUInt32OpenCL,
uint64: _librapid.ArrayUInt64OpenCL,
float32: _librapid.ArrayFloatOpenCL,
float64: _librapid.ArrayDoubleOpenCL,
# Complex32: _librapid.ArrayComplexFloatOpenCL,
Expand All @@ -273,8 +273,8 @@ def getSeed():
__cudaTypeList = {
int32: _librapid.ArrayInt32CUDA,
int64: _librapid.ArrayInt64CUDA,
# uint32: _librapid.ArrayUInt32CUDA,
# uint64: _librapid.ArrayUInt64CUDA,
uint32: _librapid.ArrayUInt32CUDA,
uint64: _librapid.ArrayUInt64CUDA,
float32: _librapid.ArrayFloatCUDA,
float64: _librapid.ArrayDoubleCUDA,
# Complex32: _librapid.ArrayComplexFloatCUDA,
Expand Down
8 changes: 4 additions & 4 deletions librapid/bindings/generators/arrayGenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@

for scalar in [("int32_t", "Int32"),
("int64_t", "Int64"),
# ("uint32_t", "UInt32"),
# ("uint64_t", "UInt64"),
("uint32_t", "UInt32"),
("uint64_t", "UInt64"),
("float", "Float"),
("double", "Double"),
# ("lrc::Complex<float>", "ComplexFloat"),
# ("lrc::Complex<double>", "ComplexDouble")
("lrc::Complex<float>", "ComplexFloat"),
("lrc::Complex<double>", "ComplexDouble")
]:
for backend in ["CPU"]: # ["CPU", "OpenCL", "CUDA"]:
arrayTypes.append({
Expand Down
8 changes: 4 additions & 4 deletions librapid/bindings/generators/generalArrayViewGenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@

for scalar in [("int32_t", "Int32"),
("int64_t", "Int64"),
# ("uint32_t", "UInt32"),
# ("uint64_t", "UInt64"),
("uint32_t", "UInt32"),
("uint64_t", "UInt64"),
("float", "Float"),
("double", "Double"),
# ("lrc::Complex<float>", "ComplexFloat"),
# ("lrc::Complex<double>", "ComplexDouble")
("lrc::Complex<float>", "ComplexFloat"),
("lrc::Complex<double>", "ComplexDouble")
]:
for backend in ["CPU"]: # ["CPU", "OpenCL", "CUDA"]:
arrayTypes.append({
Expand Down

0 comments on commit a54cc1e

Please sign in to comment.