Pull request #6904 updated 07:56:46 Connecting to https://api.github.com using 476720/****** Obtained .jenkins from 47e3b8d40e706c32ee73db75f7ffbc2278512f91+4ec82963fbcd174aab79a86875c85e09a4fcc170 (fa35900f8c50631a9f21734efbde7a0ed7e3f960) [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 fetnat06 in /var/jenkins/workspace/Kokkos_PR-6904 [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-6904 # 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/6904/head:refs/remotes/origin/PR-6904 +refs/heads/develop:refs/remotes/origin/develop # timeout=10 Fetching without tags Merging remotes/origin/develop commit 4ec82963fbcd174aab79a86875c85e09a4fcc170 into PR head commit 47e3b8d40e706c32ee73db75f7ffbc2278512f91 Merge succeeded, producing 47e3b8d40e706c32ee73db75f7ffbc2278512f91 Checking out Revision 47e3b8d40e706c32ee73db75f7ffbc2278512f91 (PR-6904) Commit message: "just for you to see" 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/6904/head:refs/remotes/origin/PR-6904 # 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/6904/head:refs/remotes/origin/PR-6904 +refs/heads/develop:refs/remotes/origin/develop # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 47e3b8d40e706c32ee73db75f7ffbc2278512f91 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_ASKPASS to set credentials > git merge 4ec82963fbcd174aab79a86875c85e09a4fcc170 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 47e3b8d40e706c32ee73db75f7ffbc2278512f91 # timeout=10 > git rev-list --no-walk ca66f44169a11c60511ef63e2666e82d6525544f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] isUnix [Pipeline] readFile [Pipeline] sh + docker build -t eae6f72ffc329bb23b89307437cb4e074fbdb105 -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 ---> 18ca3f4297e7 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 ---> 17e42360596b Step 3/3 : ENV CLANG_FORMAT_EXE=clang-format-8 ---> Using cache ---> 6f7aba0a204a Successfully built 6f7aba0a204a Successfully tagged eae6f72ffc329bb23b89307437cb4e074fbdb105:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh + docker inspect -f . eae6f72ffc329bb23b89307437cb4e074fbdb105 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer fetnat06 seems to be running inside container f8938e798033c7823b43fd575768e485783d8d37030a609f12d5662a37cfa5f9 $ docker run -t -d -u 0:0 -v /tmp/ccache.kokkos:/tmp/ccache -w /var/jenkins/workspace/Kokkos_PR-6904 --volumes-from f8938e798033c7823b43fd575768e485783d8d37030a609f12d5662a37cfa5f9 -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 ******** eae6f72ffc329bb23b89307437cb4e074fbdb105 cat $ docker top b3c3ef8d8b6449234ea4598fbd8ac7376731a31297e841d93bb1ae4aa4b80ddb -eo pid,comm [Pipeline] { [Pipeline] sh + ./scripts/docker/check_format_cpp.sh diff --git a/core/src/Cuda/Kokkos_Cuda_Graph_Impl.hpp b/core/src/Cuda/Kokkos_Cuda_Graph_Impl.hpp index 5ec1f8b3a..138f274dc 100644 --- a/core/src/Cuda/Kokkos_Cuda_Graph_Impl.hpp +++ b/core/src/Cuda/Kokkos_Cuda_Graph_Impl.hpp @@ -51,7 +51,7 @@ struct GraphImpl<Kokkos::Cuda> { using node_details_t = GraphNodeBackendSpecificDetails<Kokkos::Cuda>; -public: + public: template <typename... Args> void instantiate_graph(Args&&... args) { KOKKOS_IMPL_CUDA_SAFE_CALL( diff --git a/core/src/Cuda/Kokkos_Cuda_Instance.hpp b/core/src/Cuda/Kokkos_Cuda_Instance.hpp index b27011f8a..c61a2fa47 100644 --- a/core/src/Cuda/Kokkos_Cuda_Instance.hpp +++ b/core/src/Cuda/Kokkos_Cuda_Instance.hpp @@ -457,7 +457,8 @@ class CudaInternal { /// All signatures now take 3 arguments: /// - cudaGraphExec_t* /// - cudaGraph_t - /// - either some flag as an unsigned long long or a cudaGraphInstantiateParams* + /// - either some flag as an unsigned long long or a + /// cudaGraphInstantiateParams* /// /// Note that my implementation is just to illustrate the idea developed in /// https://github.com/kokkos/kokkos/pull/6904#discussion_r1562293918. @@ -466,7 +467,8 @@ class CudaInternal { cudaError_t cuda_graph_instantiate_wrapper(cudaGraphExec_t* pGraphExec, cudaGraph_t graph, Args&&... args) const { - static_assert(sizeof...(Args) == 0 || sizeof...(Args) == 1, "Only one optional parameter supported."); + static_assert(sizeof...(Args) == 0 || sizeof...(Args) == 1, + "Only one optional parameter supported."); if constexpr (setCudaDevice) set_cuda_device(); @@ -476,10 +478,13 @@ class CudaInternal { } else if (sizeof...(Args) == 1) { if constexpr (std::is_pointer_v<Args...>) { printf("> Calling cudaGraphInstantiateWithParams.\n"); - return cudaGraphInstantiateWithParams(pGraphExec, graph, std::forward<Args>(args)...); + return cudaGraphInstantiateWithParams(pGraphExec, graph, + std::forward<Args>(args)...); } else { - printf("> Calling cudaGraphInstantiateWithFlags %d.\n", std::forward<Args>(args)...); - return cudaGraphInstantiateWithFlags(pGraphExec, graph, std::forward<Args>(args)...); + printf("> Calling cudaGraphInstantiateWithFlags %d.\n", + std::forward<Args>(args)...); + return cudaGraphInstantiateWithFlags(pGraphExec, graph, + std::forward<Args>(args)...); } } else { Kokkos::abort("oups not 0 or 1 arg"); [Pipeline] } $ docker stop --time=1 b3c3ef8d8b6449234ea4598fbd8ac7376731a31297e841d93bb1ae4aa4b80ddb $ docker rm -f --volumes b3c3ef8d8b6449234ea4598fbd8ac7376731a31297e841d93bb1ae4aa4b80ddb [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