diff --git a/.github/code_analysis.py b/.github/code_analysis.py index bd303059..d5ee0b71 100644 --- a/.github/code_analysis.py +++ b/.github/code_analysis.py @@ -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): diff --git a/.github/workflows/analysis.yml b/.github/workflows/analysis.yml index cc0d6f04..03a64379 100644 --- a/.github/workflows/analysis.yml +++ b/.github/workflows/analysis.yml @@ -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/cuda-toolkit@v0.2.14 - # with: - # method: network - # use-github-cache: false - # use-local-cache: false + - name: Install CUDA Toolkit + uses: Jimver/cuda-toolkit@v0.2.14 + 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 \ diff --git a/niftyreg_build_version.txt b/niftyreg_build_version.txt index c8eb5888..99dea3b5 100644 --- a/niftyreg_build_version.txt +++ b/niftyreg_build_version.txt @@ -1 +1 @@ -438 +439