GitHub pull request #4341 of commit 5f8bc35da5ba6297b408637a9fd3707b267a93d8, no merge conflicts. Setting status of 5f8bc35da5ba6297b408637a9fd3707b267a93d8 to PENDING with url https://cloud.cees.ornl.gov/jenkins-ci/job/Kokkos/6995/ and message: 'Build started for merge commit.' Using context: continuous-integration/jenkin-ci/pr Checking out git https://github.com/kokkos/kokkos.git into /var/jenkins_home/jobs/Kokkos/workspace@script to read .jenkins The recommended git tool is: NONE No credentials specified > git rev-parse --resolve-git-dir /var/jenkins_home/jobs/Kokkos/workspace@script/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/kokkos/kokkos.git # timeout=10 Fetching upstream changes from https://github.com/kokkos/kokkos.git > git --version # timeout=10 > git --version # 'git version 2.30.2' > git fetch --tags --force --progress -- https://github.com/kokkos/kokkos.git +refs/heads/master:refs/remotes/origin/master +refs/heads/develop:refs/remotes/origin/develop +refs/pull/4341/*:refs/remotes/origin/pr/4341/* # timeout=10 > git rev-parse refs/remotes/origin/pr/4341/merge^{commit} # timeout=10 JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: https://plugins.jenkins.io/git/#remove-git-plugin-buildsbybranch-builddata-script Checking out Revision ea6454c71de10f6d752b36ec0c9990281c1f4639 (refs/remotes/origin/pr/4341/merge) > git config core.sparsecheckout # timeout=10 > git checkout -f ea6454c71de10f6d752b36ec0c9990281c1f4639 # timeout=10 Commit message: "Merge 5f8bc35da5ba6297b408637a9fd3707b267a93d8 into 78f0bd57b5a8c297a6294204c70ca3826f043c4f" First time build. Skipping changelog. [Pipeline] Start of Pipeline [Pipeline] withEnv [Pipeline] { [Pipeline] timeout Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Clang-Format) [Pipeline] node Running on cpu-node-3 in /var/jenkins/workspace/Kokkos [Pipeline] { [Pipeline] checkout The recommended git tool is: NONE No credentials specified Fetching changes from the remote Git repository JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: https://plugins.jenkins.io/git/#remove-git-plugin-buildsbybranch-builddata-script Checking out Revision ea6454c71de10f6d752b36ec0c9990281c1f4639 (refs/remotes/origin/pr/4341/merge) Commit message: "Merge 5f8bc35da5ba6297b408637a9fd3707b267a93d8 into 78f0bd57b5a8c297a6294204c70ca3826f043c4f" [Pipeline] withEnv [Pipeline] { > git rev-parse --resolve-git-dir /var/jenkins/workspace/Kokkos/.git # timeout=10 > git config remote.origin.url https://github.com/kokkos/kokkos.git # timeout=10 Fetching upstream changes from https://github.com/kokkos/kokkos.git > git --version # timeout=10 > git --version # 'git version 2.17.1' > git fetch --tags --progress -- https://github.com/kokkos/kokkos.git +refs/heads/master:refs/remotes/origin/master +refs/heads/develop:refs/remotes/origin/develop +refs/pull/4341/*:refs/remotes/origin/pr/4341/* # timeout=10 > git rev-parse refs/remotes/origin/pr/4341/merge^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ea6454c71de10f6d752b36ec0c9990281c1f4639 # timeout=10 [Pipeline] isUnix [Pipeline] readFile [Pipeline] sh + docker build -t 42c1a469276c452370d1fe91d531fae40a5eb9f3 -f scripts/docker/Dockerfile.clang scripts/docker Sending build context to Docker daemon 19.46kB Step 1/10 : FROM nvidia/cuda:9.2-devel ---> faf70984a20a Step 2/10 : RUN apt-get update && apt-get install -y bc git wget ccache && apt-get clean && rm -rf /var/lib/apt/lists/* ---> Using cache ---> 1fe7cb4c7ff9 Step 3/10 : RUN KEYDUMP_URL=https://cloud.cees.ornl.gov/download && KEYDUMP_FILE=keydump && wget --quiet ${KEYDUMP_URL}/${KEYDUMP_FILE} && wget --quiet ${KEYDUMP_URL}/${KEYDUMP_FILE}.sig && gpg --import ${KEYDUMP_FILE} && gpg --verify ${KEYDUMP_FILE}.sig ${KEYDUMP_FILE} && rm ${KEYDUMP_FILE}* ---> Using cache ---> 861c187dbe1b Step 4/10 : ARG CMAKE_VERSION=3.16.8 ---> Using cache ---> 0c048d864767 Step 5/10 : ENV CMAKE_DIR=/opt/cmake ---> Using cache ---> d5e0108a40b3 Step 6/10 : RUN CMAKE_URL=https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION} && CMAKE_SCRIPT=cmake-${CMAKE_VERSION}-Linux-x86_64.sh && CMAKE_SHA256=cmake-${CMAKE_VERSION}-SHA-256.txt && wget --quiet ${CMAKE_URL}/${CMAKE_SHA256} && wget --quiet ${CMAKE_URL}/${CMAKE_SHA256}.asc && wget --quiet ${CMAKE_URL}/${CMAKE_SCRIPT} && gpg --verify ${CMAKE_SHA256}.asc ${CMAKE_SHA256} && grep ${CMAKE_SCRIPT} ${CMAKE_SHA256} | sha256sum --check && mkdir -p ${CMAKE_DIR} && sh ${CMAKE_SCRIPT} --skip-license --prefix=${CMAKE_DIR} && rm cmake* ---> Using cache ---> c3f41a792790 Step 7/10 : ENV PATH=${CMAKE_DIR}/bin:$PATH ---> Using cache ---> fb374a8939cb Step 8/10 : ENV LLVM_DIR=/opt/llvm ---> Using cache ---> 8da9b42918fb Step 9/10 : RUN LLVM_VERSION=8.0.0 && LLVM_URL=http://releases.llvm.org/${LLVM_VERSION}/clang+llvm-${LLVM_VERSION}-x86_64-linux-gnu-ubuntu-16.04.tar.xz && LLVM_ARCHIVE=llvm-${LLVM_VERSION}.tar.xz && SCRATCH_DIR=/scratch && mkdir -p ${SCRATCH_DIR} && cd ${SCRATCH_DIR} && wget --quiet ${LLVM_URL} --output-document=${LLVM_ARCHIVE} && wget --quiet ${LLVM_URL}.sig --output-document=${LLVM_ARCHIVE}.sig && gpg --verify ${LLVM_ARCHIVE}.sig ${LLVM_ARCHIVE} && mkdir -p ${LLVM_DIR} && tar -xvf ${LLVM_ARCHIVE} -C ${LLVM_DIR} --strip-components=1 && echo "${LLVM_DIR}/lib" > /etc/ld.so.conf.d/llvm.conf && ldconfig && rm -rf /root/.gnupg && rm -rf ${SCRATCH_DIR} ---> Using cache ---> 914ffe9909a4 Step 10/10 : ENV PATH=${LLVM_DIR}/bin:$PATH ---> Using cache ---> c3350eb847b7 Successfully built c3350eb847b7 Successfully tagged 42c1a469276c452370d1fe91d531fae40a5eb9f3:latest [Pipeline] isUnix [Pipeline] sh + docker inspect -f . 42c1a469276c452370d1fe91d531fae40a5eb9f3 . [Pipeline] withDockerContainer cpu-node-3 seems to be running inside container a7e7f58646c4f0699e042df1d6dcf46f8a18bbe96cad4f14c07de63c5dbcf45c $ docker run -t -d -u 0:0 -v /tmp/ccache.kokkos:/tmp/ccache -w /var/jenkins/workspace/Kokkos --volumes-from a7e7f58646c4f0699e042df1d6dcf46f8a18bbe96cad4f14c07de63c5dbcf45c -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** 42c1a469276c452370d1fe91d531fae40a5eb9f3 cat $ docker top 9aed127bb55bae398aa3efe0050e181b103d3b23a3e09386d955578e565eee84 -eo pid,comm [Pipeline] { [Pipeline] sh + ./scripts/docker/check_format_cpp.sh diff --git a/core/src/Cuda/Kokkos_Cuda_Half.hpp b/core/src/Cuda/Kokkos_Cuda_Half.hpp index fee888140..aaf320e48 100644 --- a/core/src/Cuda/Kokkos_Cuda_Half.hpp +++ b/core/src/Cuda/Kokkos_Cuda_Half.hpp @@ -141,16 +141,16 @@ class alignas(2) half_t { KOKKOS_FUNCTION half_t() : val(0.0F) {} - // Copy constructors - // Getting "C2580: multiple versions of a defaulted special - // member function are not allowed" with VS 16.11.3 and CUDA 11.4.2 - #if defined(_WIN32) && defined(KOKKOS_ENABLE_CUDA) +// Copy constructors +// Getting "C2580: multiple versions of a defaulted special +// member function are not allowed" with VS 16.11.3 and CUDA 11.4.2 +#if defined(_WIN32) && defined(KOKKOS_ENABLE_CUDA) KOKKOS_FUNCTION - half_t(const half_t& rhs) : val(rhs.val){} - #else + half_t(const half_t& rhs) : val(rhs.val) {} +#else KOKKOS_DEFAULTED_FUNCTION half_t(const half_t&) noexcept = default; - #endif +#endif KOKKOS_INLINE_FUNCTION half_t(const volatile half_t& rhs) { diff --git a/core/src/Kokkos_MathematicalFunctions.hpp b/core/src/Kokkos_MathematicalFunctions.hpp index 7e9822661..cadd009f3 100644 --- a/core/src/Kokkos_MathematicalFunctions.hpp +++ b/core/src/Kokkos_MathematicalFunctions.hpp @@ -206,16 +206,12 @@ namespace Experimental { // isinf isnan and isinfinite don't work on windows with cuda with std:: #if defined(_WIN32) && defined(KOKKOS_ENABLE_CUDA) #define KOKKOS_IMPL_MATH_UNARY_PREDICATE(FUNC) \ - KOKKOS_INLINE_FUNCTION bool FUNC(float x) { \ - return ::FUNC(x); \ - } \ - KOKKOS_INLINE_FUNCTION bool FUNC(double x) { \ - return ::FUNC(x); \ - } \ + KOKKOS_INLINE_FUNCTION bool FUNC(float x) { return ::FUNC(x); } \ + KOKKOS_INLINE_FUNCTION bool FUNC(double x) { return ::FUNC(x); } \ template <class T> \ KOKKOS_INLINE_FUNCTION std::enable_if_t<std::is_integral<T>::value, bool> \ FUNC(T x) { \ - return ::FUNC(static_cast<double>(x)); \ + return ::FUNC(static_cast<double>(x)); \ } #else #define KOKKOS_IMPL_MATH_UNARY_PREDICATE(FUNC) \ [Pipeline] } $ docker stop --time=1 9aed127bb55bae398aa3efe0050e181b103d3b23a3e09386d955578e565eee84 $ docker rm -f 9aed127bb55bae398aa3efe0050e181b103d3b23a3e09386d955578e565eee84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] parallel [Pipeline] { (Branch: SYCL-OneAPI) [Pipeline] { (Branch: HIP-ROCm-4.2-C++14) [Pipeline] { (Branch: HIP-ROCm-4.2-C++17) [Pipeline] { (Branch: OPENMPTARGET-Clang) [Pipeline] { (Branch: CUDA-10.1-Clang-Tidy) [Pipeline] { (Branch: CUDA-9.2-NVCC) [Pipeline] { (Branch: CUDA-11.0-NVCC-C++17-RDC) [Pipeline] { (Branch: CUDA-10.1-NVCC-DEBUG) [Pipeline] { (Branch: GCC-5.3.0) [Pipeline] stage [Pipeline] { (SYCL-OneAPI) [Pipeline] stage [Pipeline] { (HIP-ROCm-4.2-C++14) [Pipeline] stage [Pipeline] { (HIP-ROCm-4.2-C++17) [Pipeline] stage [Pipeline] { (OPENMPTARGET-Clang) [Pipeline] stage [Pipeline] { (CUDA-10.1-Clang-Tidy) [Pipeline] stage [Pipeline] { (CUDA-9.2-NVCC) [Pipeline] stage [Pipeline] { (CUDA-11.0-NVCC-C++17-RDC) [Pipeline] stage [Pipeline] { (CUDA-10.1-NVCC-DEBUG) [Pipeline] stage [Pipeline] { (GCC-5.3.0) Stage "SYCL-OneAPI" skipped due to earlier failure(s) [Pipeline] } Stage "HIP-ROCm-4.2-C++14" skipped due to earlier failure(s) [Pipeline] } Stage "HIP-ROCm-4.2-C++17" skipped due to earlier failure(s) [Pipeline] } Stage "OPENMPTARGET-Clang" skipped due to earlier failure(s) [Pipeline] } Stage "CUDA-10.1-Clang-Tidy" skipped due to earlier failure(s) [Pipeline] } Stage "CUDA-9.2-NVCC" skipped due to earlier failure(s) [Pipeline] } Stage "CUDA-11.0-NVCC-C++17-RDC" skipped due to earlier failure(s) [Pipeline] } Stage "CUDA-10.1-NVCC-DEBUG" skipped due to earlier failure(s) [Pipeline] } Stage "GCC-5.3.0" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] // stage [Pipeline] // stage [Pipeline] // stage [Pipeline] // stage [Pipeline] // stage [Pipeline] // stage [Pipeline] // stage [Pipeline] } Failed in branch SYCL-OneAPI [Pipeline] } Failed in branch HIP-ROCm-4.2-C++14 [Pipeline] } Failed in branch HIP-ROCm-4.2-C++17 [Pipeline] } Failed in branch OPENMPTARGET-Clang [Pipeline] } Failed in branch CUDA-10.1-Clang-Tidy [Pipeline] } Failed in branch CUDA-9.2-NVCC [Pipeline] } Failed in branch CUDA-11.0-NVCC-C++17-RDC [Pipeline] } Failed in branch CUDA-10.1-NVCC-DEBUG [Pipeline] } Failed in branch GCC-5.3.0 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] End of Pipeline ERROR: script returned exit code 1 Setting status of 5f8bc35da5ba6297b408637a9fd3707b267a93d8 to FAILURE with url https://cloud.cees.ornl.gov/jenkins-ci/job/Kokkos/6995/ and message: 'Build finished. ' Using context: continuous-integration/jenkin-ci/pr Finished: FAILURE