Skip to content

Commit

Permalink
Linter Test 16
Browse files Browse the repository at this point in the history
onurulgen committed Feb 12, 2024
1 parent 0a05db3 commit 5ce689f
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/code_analysis.py
Original file line number Diff line number Diff line change
@@ -63,7 +63,7 @@ def parse_diff_output(changed_files):
file_pattern = re.compile(r"^\+\+\+ b/(.*?)$", re.MULTILINE)
line_pattern = re.compile(r"^@@ -\d+(?:,\d+)? \+(\d+)(?:,(\d+))? @@", re.MULTILINE)

supported_extensions = (".h", ".hpp", ".hcc", ".c", ".cc", ".cpp", ".cxx", ".cu")
supported_extensions = (".h", ".hpp", ".hcc", ".c", ".cc", ".cpp", ".cxx", ".cu", ".cl")

files = {}
for match in file_pattern.finditer(changed_files):
16 changes: 8 additions & 8 deletions .github/workflows/analysis.yml
Original file line number Diff line number Diff line change
@@ -11,12 +11,12 @@ jobs:
sudo apt update && sudo apt install cppcheck -y
pip3 install --upgrade setuptools urllib3 chardet pyOpenSSL pygithub
# - name: Install CUDA Toolkit
# uses: Jimver/[email protected]
# with:
# method: network
# use-github-cache: false
# use-local-cache: false
- name: Install CUDA Toolkit
uses: Jimver/[email protected]
with:
method: network
use-github-cache: false
use-local-cache: false

- name: Configure NiftyReg
run: |
@@ -27,8 +27,8 @@ jobs:
-DCMAKE_BUILD_TYPE=Debug \
-DBUILD_ALL_DEP=ON \
-DCHECK_GPU=OFF \
-DUSE_CUDA=OFF \
-DUSE_OPENCL=OFF \
-DUSE_CUDA=ON \
-DUSE_OPENCL=ON \
-DUSE_SSE=ON \
-DUSE_OPENMP=ON \
-DBUILD_TESTING=OFF \
2 changes: 1 addition & 1 deletion niftyreg_build_version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
438
439

0 comments on commit 5ce689f

Please sign in to comment.