From 6f27cab62322c9a0b7c5e304794a39731ece6ba2 Mon Sep 17 00:00:00 2001 From: Thejaswi Rao Date: Thu, 5 Nov 2020 21:16:59 -0800 Subject: [PATCH] updated clang to v11.0.0 --- cpp/include/raft/sparse/cusparse_wrappers.h | 2 +- cpp/scripts/run-clang-format.py | 2 +- cpp/scripts/run-clang-tidy.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cpp/include/raft/sparse/cusparse_wrappers.h b/cpp/include/raft/sparse/cusparse_wrappers.h index db2737bdec..a60fc41c3c 100644 --- a/cpp/include/raft/sparse/cusparse_wrappers.h +++ b/cpp/include/raft/sparse/cusparse_wrappers.h @@ -55,7 +55,7 @@ namespace detail { inline const char* cusparse_error_to_string(cusparseStatus_t err) { #if defined(CUDART_VERSION) && CUDART_VERSION >= 10100 return cusparseGetErrorString(err); -#else // CUDART_VERSION +#else // CUDART_VERSION switch (err) { _CUSPARSE_ERR_TO_STR(CUSPARSE_STATUS_SUCCESS); _CUSPARSE_ERR_TO_STR(CUSPARSE_STATUS_NOT_INITIALIZED); diff --git a/cpp/scripts/run-clang-format.py b/cpp/scripts/run-clang-format.py index aad20fb524..24306de3fc 100755 --- a/cpp/scripts/run-clang-format.py +++ b/cpp/scripts/run-clang-format.py @@ -22,7 +22,7 @@ import tempfile -EXPECTED_VERSION = "8.0.1" +EXPECTED_VERSION = "11.0.0" VERSION_REGEX = re.compile(r"clang-format version ([0-9.]+)") # NOTE: populate this list with more top-level dirs as we add more of them to # to the cuml repo diff --git a/cpp/scripts/run-clang-tidy.py b/cpp/scripts/run-clang-tidy.py index 23260d2f4d..272d733bb9 100644 --- a/cpp/scripts/run-clang-tidy.py +++ b/cpp/scripts/run-clang-tidy.py @@ -23,7 +23,7 @@ import multiprocessing as mp -EXPECTED_VERSION = "8.0.1" +EXPECTED_VERSION = "11.0.0" VERSION_REGEX = re.compile(r" LLVM version ([0-9.]+)") GPU_ARCH_REGEX = re.compile(r"sm_(\d+)") SPACES = re.compile(r"\s+")