Pull request #6955 updated 10:50:59 Connecting to https://api.github.com using 476720/****** Obtained .jenkins from 1ee800ad78b3f1d32540d0301a7ae45e325d296b+cc602957cec5627c8752137c0412caa6fe37d2bc (a6dc82e8a6aaf90e80cb307c3014fd39bedc31de) [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 fetnat08 in /var/jenkins/workspace/Kokkos_PR-6955 [Pipeline] { [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential Jenkins ORNL Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://github.com/kokkos/kokkos.git > git init /var/jenkins/workspace/Kokkos_PR-6955 # timeout=10 Fetching upstream changes from https://github.com/kokkos/kokkos.git > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_ASKPASS to set credentials > git fetch --no-tags --progress -- https://github.com/kokkos/kokkos.git +refs/pull/6955/head:refs/remotes/origin/PR-6955 +refs/heads/develop:refs/remotes/origin/develop # timeout=10 Fetching without tags Merging remotes/origin/develop commit cc602957cec5627c8752137c0412caa6fe37d2bc into PR head commit 1ee800ad78b3f1d32540d0301a7ae45e325d296b > git config remote.origin.url https://github.com/kokkos/kokkos.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/6955/head:refs/remotes/origin/PR-6955 # timeout=10 > git config --add remote.origin.fetch +refs/heads/develop:refs/remotes/origin/develop # 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 using GIT_ASKPASS to set credentials > git fetch --no-tags --progress -- https://github.com/kokkos/kokkos.git +refs/pull/6955/head:refs/remotes/origin/PR-6955 +refs/heads/develop:refs/remotes/origin/develop # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1ee800ad78b3f1d32540d0301a7ae45e325d296b # timeout=10 Merge succeeded, producing 8cb015666ff4a55d55d7924bbcfa1c7eeb247321 Checking out Revision 8cb015666ff4a55d55d7924bbcfa1c7eeb247321 (PR-6955) Commit message: "Merge commit 'cc602957cec5627c8752137c0412caa6fe37d2bc' into HEAD" First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] isUnix [Pipeline] readFile [Pipeline] sh + docker build -t f36c7cbcf421110af2536a19f2dcfd0a8672172d -f scripts/docker/Dockerfile.clang scripts/docker DEPRECATED: The legacy builder is deprecated and will be removed in a future release. Install the buildx component to build images with BuildKit: https://docs.docker.com/go/buildx/ Sending build context to Docker daemon 22.02kB Step 1/3 : FROM ubuntu:20.04 ---> 3cff1c6ff37e Step 2/3 : RUN apt-get update && apt-get install -y bc git build-essential clang-format-8 wget && apt-get clean && rm -rf /var/lib/apt/lists/* ---> Using cache ---> 71a5788213ed Step 3/3 : ENV CLANG_FORMAT_EXE=clang-format-8 ---> Using cache ---> ff453a43f7bf Successfully built ff453a43f7bf > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_ASKPASS to set credentials > git merge cc602957cec5627c8752137c0412caa6fe37d2bc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8cb015666ff4a55d55d7924bbcfa1c7eeb247321 # timeout=10 > git rev-list --no-walk 4a3b0d6ec85205bf0c945921429c657919e4d997 # timeout=10 Successfully tagged f36c7cbcf421110af2536a19f2dcfd0a8672172d:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh + docker inspect -f . f36c7cbcf421110af2536a19f2dcfd0a8672172d . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer fetnat08 seems to be running inside container ed2c660221ff7829fec36c307d1ecca218efea824ba838c26289c97547e691d3 $ docker run -t -d -u 0:0 -v /tmp/ccache.kokkos:/tmp/ccache -w /var/jenkins/workspace/Kokkos_PR-6955 --volumes-from ed2c660221ff7829fec36c307d1ecca218efea824ba838c26289c97547e691d3 -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 ******** f36c7cbcf421110af2536a19f2dcfd0a8672172d cat $ docker top eceed9024587a97802c0fa7521244289c46e0926481e89661b70b440b3a45b39 -eo pid,comm [Pipeline] { [Pipeline] sh + ./scripts/docker/check_format_cpp.sh diff --git a/containers/src/Kokkos_DynRankView.hpp b/containers/src/Kokkos_DynRankView.hpp index 0ebc8c49b..c800a9aa6 100644 --- a/containers/src/Kokkos_DynRankView.hpp +++ b/containers/src/Kokkos_DynRankView.hpp @@ -1937,10 +1937,8 @@ namespace Impl { // private interface that accepts arbitrary view constructor args passed by a // view_alloc template <class T, class... P, class... ViewCtorArgs> -inline auto create_mirror( - const DynRankView<T, P...>& src, - const Impl::ViewCtorProp<ViewCtorArgs...>& arg_prop) { - +inline auto create_mirror(const DynRankView<T, P...>& src, + const Impl::ViewCtorProp<ViewCtorArgs...>& arg_prop) { check_view_ctor_args_create_mirror<ViewCtorArgs...>(); auto prop_copy = Impl::with_properties_if_unset( @@ -1951,12 +1949,14 @@ inline auto create_mirror( typename Impl::ViewCtorProp<ViewCtorArgs...>::memory_space, T, P...>::view_type; - return dst_type(prop_copy, Impl::reconstructLayout(src.layout(), src.rank())); + return dst_type(prop_copy, + Impl::reconstructLayout(src.layout(), src.rank())); } else { using src_type = DynRankView<T, P...>; using dst_type = typename src_type::HostMirror; - return dst_type(prop_copy, Impl::reconstructLayout(src.layout(), src.rank())); + return dst_type(prop_copy, + Impl::reconstructLayout(src.layout(), src.rank())); } } @@ -2029,27 +2029,25 @@ namespace Impl { // private interface that accepts arbitrary view constructor args passed by a // view_alloc template <class T, class... P, class... ViewCtorArgs> -inline auto create_mirror_view(const DynRankView<T, P...>& src, - [[maybe_unused]] const typename Impl::ViewCtorProp<ViewCtorArgs...>& arg_prop) { +inline auto create_mirror_view( + const DynRankView<T, P...>& src, + [[maybe_unused]] const typename Impl::ViewCtorProp<ViewCtorArgs...>& + arg_prop) { if constexpr (!Impl::ViewCtorProp<ViewCtorArgs...>::has_memory_space) { - if constexpr ( - std::is_same< - typename DynRankView<T, P...>::memory_space, - typename DynRankView<T, P...>::HostMirror::memory_space>::value && - std::is_same< - typename DynRankView<T, P...>::data_type, - typename DynRankView<T, P...>::HostMirror::data_type>::value - ) { + if constexpr (std::is_same<typename DynRankView<T, P...>::memory_space, + typename DynRankView< + T, P...>::HostMirror::memory_space>::value && + std::is_same<typename DynRankView<T, P...>::data_type, + typename DynRankView< + T, P...>::HostMirror::data_type>::value) { return src; } else { return Kokkos::Impl::create_mirror(src, arg_prop); } } else { - if constexpr ( - Impl::MirrorDRViewType< - typename Impl::ViewCtorProp<ViewCtorArgs...>::memory_space, T, - P...>::is_same_memspace - ) { + if constexpr (Impl::MirrorDRViewType<typename Impl::ViewCtorProp< + ViewCtorArgs...>::memory_space, + T, P...>::is_same_memspace) { return src; } else { return Kokkos::Impl::create_mirror(src, arg_prop); @@ -2129,9 +2127,7 @@ inline auto create_mirror_view( return Impl::create_mirror_view(src, arg_prop); } -namespace Impl { - -} // namespace Impl +namespace Impl {} // namespace Impl // create a mirror view and deep copy it // public interface that accepts arbitrary view constructor args passed by a @@ -2147,12 +2143,13 @@ auto create_mirror_view_and_copy( Impl::check_view_ctor_args_create_mirror_view_and_copy<ViewCtorArgs...>(); if constexpr (Impl::MirrorDRViewType< - typename Impl::ViewCtorProp<ViewCtorArgs...>::memory_space, T, - P...>::is_same_memspace) { + typename Impl::ViewCtorProp<ViewCtorArgs...>::memory_space, + T, P...>::is_same_memspace) { // same behavior as deep_copy(src, src) if constexpr (!alloc_prop_input::has_execution_space) fence( - "Kokkos::create_mirror_view_and_copy: fence before returning src view"); + "Kokkos::create_mirror_view_and_copy: fence before returning src " + "view"); return src; } else { using Space = typename alloc_prop_input::memory_space; diff --git a/containers/src/Kokkos_DynamicView.hpp b/containers/src/Kokkos_DynamicView.hpp index 5f2330a5c..ca46fc426 100644 --- a/containers/src/Kokkos_DynamicView.hpp +++ b/containers/src/Kokkos_DynamicView.hpp @@ -596,7 +596,7 @@ namespace Impl { // view_alloc template <class T, class... P, class... ViewCtorArgs> inline auto create_mirror(const Kokkos::Experimental::DynamicView<T, P...>& src, - const Impl::ViewCtorProp<ViewCtorArgs...>& arg_prop) { + const Impl::ViewCtorProp<ViewCtorArgs...>& arg_prop) { using alloc_prop_input = Impl::ViewCtorProp<ViewCtorArgs...>; check_view_ctor_args_create_mirror<ViewCtorArgs...>(); @@ -614,7 +614,6 @@ inline auto create_mirror(const Kokkos::Experimental::DynamicView<T, P...>& src, return ret; } else { - auto ret = typename Kokkos::Experimental::DynamicView<T, P...>::HostMirror( prop_copy, src.chunk_size(), src.chunk_max() * src.chunk_size()); @@ -669,27 +668,27 @@ namespace Impl { // private interface that accepts arbitrary view constructor args passed by a // view_alloc template <class T, class... P, class... ViewCtorArgs> -inline auto create_mirror_view(const Kokkos::Experimental::DynamicView<T, P...>& src, - [[maybe_unused]] const Impl::ViewCtorProp<ViewCtorArgs...>& arg_prop) { +inline auto create_mirror_view( + const Kokkos::Experimental::DynamicView<T, P...>& src, + [[maybe_unused]] const Impl::ViewCtorProp<ViewCtorArgs...>& arg_prop) { if constexpr (!Impl::ViewCtorProp<ViewCtorArgs...>::has_memory_space) { - if constexpr ( - std::is_same< - typename Kokkos::Experimental::DynamicView<T, P...>::memory_space, - typename Kokkos::Experimental::DynamicView< - T, P...>::HostMirror::memory_space>::value && - std::is_same< - typename Kokkos::Experimental::DynamicView<T, P...>::data_type, - typename Kokkos::Experimental::DynamicView< - T, P...>::HostMirror::data_type>::value - ) { + if constexpr (std::is_same<typename Kokkos::Experimental::DynamicView< + T, P...>::memory_space, + typename Kokkos::Experimental::DynamicView< + T, P...>::HostMirror::memory_space>::value && + std::is_same<typename Kokkos::Experimental::DynamicView< + T, P...>::data_type, + typename Kokkos::Experimental::DynamicView< + T, P...>::HostMirror::data_type>::value) { return src; } else { return Kokkos::Impl::create_mirror(src, arg_prop); } } else { if constexpr (Impl::MirrorDynamicViewType< - typename Impl::ViewCtorProp<ViewCtorArgs...>::memory_space, - T, P...>::is_same_memspace) { + typename Impl::ViewCtorProp< + ViewCtorArgs...>::memory_space, + T, P...>::is_same_memspace) { return src; } else { return Kokkos::Impl::create_mirror(src, arg_prop); @@ -925,9 +924,7 @@ struct ViewCopy<Kokkos::Experimental::DynamicView<DP...>, } // namespace Impl -namespace Impl { - -} // namespace Impl +namespace Impl {} // namespace Impl // create a mirror view and deep copy it // public interface that accepts arbitrary view constructor args passed by a @@ -943,12 +940,13 @@ auto create_mirror_view_and_copy( Impl::check_view_ctor_args_create_mirror_view_and_copy<ViewCtorArgs...>(); if constexpr (Impl::MirrorDynamicViewType< - typename Impl::ViewCtorProp<ViewCtorArgs...>::memory_space, T, - P...>::is_same_memspace) { + typename Impl::ViewCtorProp<ViewCtorArgs...>::memory_space, + T, P...>::is_same_memspace) { // same behavior as deep_copy(src, src) if constexpr (!alloc_prop_input::has_execution_space) fence( - "Kokkos::create_mirror_view_and_copy: fence before returning src view"); + "Kokkos::create_mirror_view_and_copy: fence before returning src " + "view"); return src; } else { using Space = typename alloc_prop_input::memory_space; diff --git a/containers/src/Kokkos_OffsetView.hpp b/containers/src/Kokkos_OffsetView.hpp index bdfd44f32..307783c37 100644 --- a/containers/src/Kokkos_OffsetView.hpp +++ b/containers/src/Kokkos_OffsetView.hpp @@ -1847,7 +1847,7 @@ namespace Impl { // view_alloc template <class T, class... P, class... ViewCtorArgs> inline auto create_mirror(const Kokkos::Experimental::OffsetView<T, P...>& src, - const Impl::ViewCtorProp<ViewCtorArgs...>& arg_prop) { + const Impl::ViewCtorProp<ViewCtorArgs...>& arg_prop) { check_view_ctor_args_create_mirror<ViewCtorArgs...>(); if constexpr (Impl::ViewCtorProp<ViewCtorArgs...>::has_memory_space) { @@ -1912,26 +1912,26 @@ namespace Impl { // private interface that accepts arbitrary view constructor args passed by a // view_alloc template <class T, class... P, class... ViewCtorArgs> -inline auto create_mirror_view(const Kokkos::Experimental::OffsetView<T, P...>& src, - [[maybe_unused]] const Impl::ViewCtorProp<ViewCtorArgs...>& arg_prop) { +inline auto create_mirror_view( + const Kokkos::Experimental::OffsetView<T, P...>& src, + [[maybe_unused]] const Impl::ViewCtorProp<ViewCtorArgs...>& arg_prop) { if constexpr (!Impl::ViewCtorProp<ViewCtorArgs...>::has_memory_space) { - if constexpr ( - std::is_same< - typename Kokkos::Experimental::OffsetView<T, P...>::memory_space, - typename Kokkos::Experimental::OffsetView< - T, P...>::HostMirror::memory_space>::value && - std::is_same< - typename Kokkos::Experimental::OffsetView<T, P...>::data_type, - typename Kokkos::Experimental::OffsetView< - T, P...>::HostMirror::data_type>::value) { + if constexpr (std::is_same<typename Kokkos::Experimental::OffsetView< + T, P...>::memory_space, + typename Kokkos::Experimental::OffsetView< + T, P...>::HostMirror::memory_space>::value && + std::is_same<typename Kokkos::Experimental::OffsetView< + T, P...>::data_type, + typename Kokkos::Experimental::OffsetView< + T, P...>::HostMirror::data_type>::value) { return src; } else { return Kokkos::Impl::create_mirror(src, arg_prop); } } else { - if constexpr (Impl::MirrorOffsetViewType< - typename Impl::ViewCtorProp<ViewCtorArgs...>::memory_space, - T, P...>::is_same_memspace) { + if constexpr (Impl::MirrorOffsetViewType<typename Impl::ViewCtorProp< + ViewCtorArgs...>::memory_space, + T, P...>::is_same_memspace) { return src; } else { return Kokkos::Impl::create_mirror(src, arg_prop); diff --git a/core/src/Kokkos_CopyViews.hpp b/core/src/Kokkos_CopyViews.hpp index cc813455a..4876bdbda 100644 --- a/core/src/Kokkos_CopyViews.hpp +++ b/core/src/Kokkos_CopyViews.hpp @@ -3474,7 +3474,7 @@ void check_view_ctor_args_create_mirror() { // view_alloc template <class T, class... P, class... ViewCtorArgs> inline auto create_mirror(const Kokkos::View<T, P...>& src, - const Impl::ViewCtorProp<ViewCtorArgs...>& arg_prop) { + const Impl::ViewCtorProp<ViewCtorArgs...>& arg_prop) { check_view_ctor_args_create_mirror<ViewCtorArgs...>(); auto prop_copy = Impl::with_properties_if_unset( @@ -3550,8 +3550,9 @@ namespace Impl { // private interface that accepts arbitrary view constructor args passed by a // view_alloc template <class T, class... P, class... ViewCtorArgs> -inline auto create_mirror_view(const Kokkos::View<T, P...>& src, - [[maybe_unused]] const Impl::ViewCtorProp<ViewCtorArgs...>& arg_prop) { +inline auto create_mirror_view( + const Kokkos::View<T, P...>& src, + [[maybe_unused]] const Impl::ViewCtorProp<ViewCtorArgs...>& arg_prop) { if constexpr (!Impl::ViewCtorProp<ViewCtorArgs...>::has_memory_space) { if constexpr (std::is_same<typename Kokkos::View<T, P...>::memory_space, typename Kokkos::View< [Pipeline] } $ docker stop --time=1 eceed9024587a97802c0fa7521244289c46e0926481e89661b70b440b3a45b39 $ docker rm -f --volumes eceed9024587a97802c0fa7521244289c46e0926481e89661b70b440b3a45b39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] parallel [Pipeline] { (Branch: OPENACC-NVHPC-CUDA-12.2) [Pipeline] { (Branch: CUDA-12.2-NVHPC) [Pipeline] { (Branch: SYCL-OneAPI) [Pipeline] { (Branch: HIP-ROCm-5.2) [Pipeline] { (Branch: HIP-ROCm-5.6-C++20) [Pipeline] { (Branch: OPENMPTARGET-Clang) [Pipeline] { (Branch: CUDA-11.0.3-Clang-Tidy) [Pipeline] { (Branch: CUDA-11.7-NVCC) [Pipeline] { (Branch: CUDA-11.0-NVCC-RDC) [Pipeline] { (Branch: CUDA-11.6-NVCC-DEBUG) [Pipeline] { (Branch: GCC-8.4.0) [Pipeline] stage [Pipeline] { (OPENACC-NVHPC-CUDA-12.2) [Pipeline] stage [Pipeline] { (CUDA-12.2-NVHPC) [Pipeline] stage [Pipeline] { (SYCL-OneAPI) [Pipeline] stage [Pipeline] { (HIP-ROCm-5.2) [Pipeline] stage [Pipeline] { (HIP-ROCm-5.6-C++20) [Pipeline] stage [Pipeline] { (OPENMPTARGET-Clang) [Pipeline] stage [Pipeline] { (CUDA-11.0.3-Clang-Tidy) [Pipeline] stage [Pipeline] { (CUDA-11.7-NVCC) [Pipeline] stage [Pipeline] { (CUDA-11.0-NVCC-RDC) [Pipeline] stage [Pipeline] { (CUDA-11.6-NVCC-DEBUG) [Pipeline] stage [Pipeline] { (GCC-8.4.0) Stage "OPENACC-NVHPC-CUDA-12.2" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } Stage "CUDA-12.2-NVHPC" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } Stage "SYCL-OneAPI" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } Stage "HIP-ROCm-5.2" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } Stage "HIP-ROCm-5.6-C++20" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } Stage "OPENMPTARGET-Clang" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } Stage "CUDA-11.0.3-Clang-Tidy" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } Stage "CUDA-11.7-NVCC" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } Stage "CUDA-11.0-NVCC-RDC" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } Stage "CUDA-11.6-NVCC-DEBUG" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } Stage "GCC-8.4.0" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] // stage [Pipeline] // stage [Pipeline] // stage [Pipeline] // stage [Pipeline] // stage [Pipeline] // stage [Pipeline] // stage [Pipeline] // stage [Pipeline] // stage [Pipeline] } Failed in branch OPENACC-NVHPC-CUDA-12.2 [Pipeline] } Failed in branch CUDA-12.2-NVHPC [Pipeline] } Failed in branch SYCL-OneAPI [Pipeline] } Failed in branch HIP-ROCm-5.2 [Pipeline] } Failed in branch HIP-ROCm-5.6-C++20 [Pipeline] } Failed in branch OPENMPTARGET-Clang [Pipeline] } Failed in branch CUDA-11.0.3-Clang-Tidy [Pipeline] } Failed in branch CUDA-11.7-NVCC [Pipeline] } Failed in branch CUDA-11.0-NVCC-RDC [Pipeline] } Failed in branch CUDA-11.6-NVCC-DEBUG [Pipeline] } Failed in branch GCC-8.4.0 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] End of Pipeline ERROR: script returned exit code 1 GitHub has been notified of this commit’s build result Finished: FAILURE