Pull request #6958 updated 09:13:33 Connecting to https://api.github.com using 476720/****** Obtained .jenkins from 2df3194cce3ecd009cc23bd4bb5b30b53142e105+cc602957cec5627c8752137c0412caa6fe37d2bc (9f8338f3a71f87db0a0902cff584169efe52b63c) [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 CpuNode5 in /var/jenkins/workspace/Kokkos_PR-6958 [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-6958 # 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/6958/head:refs/remotes/origin/PR-6958 +refs/heads/develop:refs/remotes/origin/develop # timeout=10 Fetching without tags Merging remotes/origin/develop commit cc602957cec5627c8752137c0412caa6fe37d2bc into PR head commit 2df3194cce3ecd009cc23bd4bb5b30b53142e105 Merge succeeded, producing be07d9ccf848ba4703ee01c7ad97240b6d6d75eb Checking out Revision be07d9ccf848ba4703ee01c7ad97240b6d6d75eb (PR-6958) Commit message: "Merge commit 'cc602957cec5627c8752137c0412caa6fe37d2bc' into HEAD" First time build. Skipping changelog. > git config remote.origin.url https://github.com/kokkos/kokkos.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/6958/head:refs/remotes/origin/PR-6958 # 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/6958/head:refs/remotes/origin/PR-6958 +refs/heads/develop:refs/remotes/origin/develop # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2df3194cce3ecd009cc23bd4bb5b30b53142e105 # timeout=10 > 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 be07d9ccf848ba4703ee01c7ad97240b6d6d75eb # timeout=10 > git rev-list --no-walk b142a9d52786c515d3bb5296dc3a7c0b827342bf # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] isUnix [Pipeline] readFile [Pipeline] sh + docker build -t cf4be35b9ecf4aa955bec3e9708c87821099b24d -f scripts/docker/Dockerfile.clang scripts/docker #2 [internal] load .dockerignore #2 sha256:1edceb2fe68d0a1b58dcd56619c692304864fa2d48a5760a9a715e03eb4953c9 #2 transferring context: 2B done #2 DONE 0.0s #1 [internal] load build definition from Dockerfile.clang #1 sha256:39d461803a1ac353998079763f3c4929efb6189915037ccdd6cdcdfca69ca309 #1 transferring dockerfile: 305B done #1 DONE 0.0s #3 [internal] load metadata for docker.io/library/ubuntu:20.04 #3 sha256:8e67b796a66f85f06793e026943184e32d365c77929e94d2ac98b34a1e1cb30e #3 DONE 0.0s #5 [1/2] FROM docker.io/library/ubuntu:20.04 #5 sha256:243f75845650c92150b34967f79a539dee49ba028b719b1a41e64f43abcdcac5 #5 DONE 0.0s #4 [2/2] 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/* #4 sha256:8112e26caa521b63044ffbcfd5f716838717dd49c47529582505fa433e5ace03 #4 CACHED #6 exporting to image #6 sha256:562b4565fec692f70c3eb412806a001e7747461d510bf6c6df1959d0ffd275b4 #6 exporting layers done #6 writing image sha256:5f6dc54c45811999a3d490942f48307254208a4b7e420a960ca33061e9ec99f0 done #6 naming to docker.io/library/cf4be35b9ecf4aa955bec3e9708c87821099b24d:latest done #6 DONE 0.0s [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh + docker inspect -f . cf4be35b9ecf4aa955bec3e9708c87821099b24d . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer CpuNode5 seems to be running inside container 96eb3c64af22c2400c54d0922c971f10735788eaca719af33e757c9e3fa73f0c $ docker run -t -d -u 0:0 -v /tmp/ccache.kokkos:/tmp/ccache -w /var/jenkins/workspace/Kokkos_PR-6958 --volumes-from 96eb3c64af22c2400c54d0922c971f10735788eaca719af33e757c9e3fa73f0c -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 ******** cf4be35b9ecf4aa955bec3e9708c87821099b24d cat $ docker top 4bd851efd8cf0cd017c4a47581250d5b6841699115f5fcd9fcdf110d85e15804 -eo pid,comm [Pipeline] { [Pipeline] sh + ./scripts/docker/check_format_cpp.sh diff --git a/core/src/SYCL/Kokkos_SYCL_Instance.cpp b/core/src/SYCL/Kokkos_SYCL_Instance.cpp index 9df5beaee..5843dca81 100644 --- a/core/src/SYCL/Kokkos_SYCL_Instance.cpp +++ b/core/src/SYCL/Kokkos_SYCL_Instance.cpp @@ -251,7 +251,8 @@ void SYCLInternal::finalize() { m_queue.reset(); } -Kokkos::Impl::sycl_device_ptr<void> SYCLInternal::scratch_space(const std::size_t size) { +Kokkos::Impl::sycl_device_ptr<void> SYCLInternal::scratch_space( + const std::size_t size) { if (verify_is_initialized("scratch_space") && m_scratchSpaceCount < scratch_count(size)) { auto mem_space = Kokkos::Experimental::SYCLDeviceUSMSpace(*m_queue); @@ -271,7 +272,8 @@ Kokkos::Impl::sycl_device_ptr<void> SYCLInternal::scratch_space(const std::size_ return m_scratchSpace; } -Kokkos::Impl::sycl_host_ptr<void> SYCLInternal::scratch_host(const std::size_t size) { +Kokkos::Impl::sycl_host_ptr<void> SYCLInternal::scratch_host( + const std::size_t size) { if (verify_is_initialized("scratch_unified") && m_scratchHostCount < scratch_count(size)) { auto mem_space = Kokkos::Experimental::SYCLHostUSMSpace(*m_queue); @@ -291,7 +293,8 @@ Kokkos::Impl::sycl_host_ptr<void> SYCLInternal::scratch_host(const std::size_t s return m_scratchHost; } -Kokkos::Impl::sycl_device_ptr<void> SYCLInternal::scratch_flags(const std::size_t size) { +Kokkos::Impl::sycl_device_ptr<void> SYCLInternal::scratch_flags( + const std::size_t size) { if (verify_is_initialized("scratch_flags") && m_scratchFlagsCount < scratch_count(size)) { auto mem_space = Kokkos::Experimental::SYCLDeviceUSMSpace(*m_queue); diff --git a/core/src/SYCL/Kokkos_SYCL_Instance.hpp b/core/src/SYCL/Kokkos_SYCL_Instance.hpp index 6c565b49a..2d784ef8a 100644 --- a/core/src/SYCL/Kokkos_SYCL_Instance.hpp +++ b/core/src/SYCL/Kokkos_SYCL_Instance.hpp @@ -47,9 +47,8 @@ class SYCLInternal { Kokkos::Impl::sycl_device_ptr<void> scratch_flags(const std::size_t size); Kokkos::Impl::sycl_host_ptr<void> scratch_host(const std::size_t size); int acquire_team_scratch_space(); - Kokkos::Impl::sycl_device_ptr<void> resize_team_scratch_space(int scratch_pool_id, - std::int64_t bytes, - bool force_shrink = false); + Kokkos::Impl::sycl_device_ptr<void> resize_team_scratch_space( + int scratch_pool_id, std::int64_t bytes, bool force_shrink = false); void register_team_scratch_event(int scratch_pool_id, sycl::event event); uint32_t impl_get_instance_id() const; @@ -59,21 +58,22 @@ class SYCLInternal { uint32_t m_maxConcurrency = 0; uint64_t m_maxShmemPerBlock = 0; - std::size_t m_scratchSpaceCount = 0; + std::size_t m_scratchSpaceCount = 0; Kokkos::Impl::sycl_device_ptr<size_type> m_scratchSpace = nullptr; - std::size_t m_scratchHostCount = 0; + std::size_t m_scratchHostCount = 0; Kokkos::Impl::sycl_host_ptr<size_type> m_scratchHost = nullptr; - std::size_t m_scratchFlagsCount = 0; + std::size_t m_scratchFlagsCount = 0; Kokkos::Impl::sycl_device_ptr<size_type> m_scratchFlags = nullptr; // mutex to access shared memory mutable std::mutex m_mutexScratchSpace; // Team Scratch Level 1 Space - static constexpr int m_n_team_scratch = 10; - mutable int64_t m_team_scratch_current_size[m_n_team_scratch] = {}; - mutable Kokkos::Impl::sycl_device_ptr<void> m_team_scratch_ptr[m_n_team_scratch] = {}; - mutable int m_current_team_scratch = 0; - mutable sycl::event m_team_scratch_event[m_n_team_scratch] = {}; + static constexpr int m_n_team_scratch = 10; + mutable int64_t m_team_scratch_current_size[m_n_team_scratch] = {}; + mutable Kokkos::Impl::sycl_device_ptr<void> + m_team_scratch_ptr[m_n_team_scratch] = {}; + mutable int m_current_team_scratch = 0; + mutable sycl::event m_team_scratch_event[m_n_team_scratch] = {}; mutable std::mutex m_team_scratch_mutex; uint32_t m_instance_id = Kokkos::Tools::Experimental::Impl::idForInstance< [Pipeline] } $ docker stop --time=1 4bd851efd8cf0cd017c4a47581250d5b6841699115f5fcd9fcdf110d85e15804 $ docker rm -f --volumes 4bd851efd8cf0cd017c4a47581250d5b6841699115f5fcd9fcdf110d85e15804 [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