Skip to content

Commit

Permalink
fix bug of CI compile
Browse files Browse the repository at this point in the history
  • Loading branch information
zyfncg committed Oct 28, 2021
1 parent 7758f14 commit e7bf067
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions paddle/pten/kernels/cuda/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ limitations under the License. */

#pragma once

// CUDA and HIP use same api
#if defined(PADDLE_WITH_CUDA) || defined(PADDLE_WITH_HIP)

#include "paddle/pten/core/dense_tensor.h"
#include "paddle/pten/core/kernel_registry.h"

Expand All @@ -26,3 +29,5 @@ using CUDAContext = paddle::platform::CUDADeviceContext;
void Copy(const CUDAContext& dev_ctx, const DenseTensor& src, DenseTensor* dst);

} // namespace pten

#endif

1 comment on commit e7bf067

@paddle-bot-old
Copy link

@paddle-bot-old paddle-bot-old bot commented on e7bf067 Oct 28, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🕵️ CI failures summary

🔍 PR: #36844 Commit ID: e7bf067 contains failed CI.

🔹 Failed: PR-CI-APPROVAL

approve_failed
2021-10-28 21:51:31 长度:5 [application/octet-stream]
2021-10-28 21:51:31 正在保存至: “bk.txt”
2021-10-28 21:51:31 0K 100% 1.90M=0s
2021-10-28 21:51:31 2021-10-28 21:51:31 (1.90 MB/s) - 已保存 “bk.txt” [5/5])
2021-10-28 21:51:41 ****************
2021-10-28 21:51:42 0. You must have one RD (lanxianghit (Recommend), phlrain or luotao1) approval for changing the FLAGS, which manages the environment variables.
2021-10-28 21:51:42 1. You must have Dianhai approval for change 20+ files or add than 1000+ lines of content.
2021-10-28 21:51:42 2. You must have one RD (XiaoguangHu01,chenwhql,zhiqiu,Xreki,luotao1) approval for paddle/fluid/framework/operator.h, which manages the underlying code for fluid.
2021-10-28 21:51:42 3. You must have one RD (zhiqiu (Recommend) , phlrain) approval for the changes of paddle/fluid/pybind/op_function_generator.cc, which manages the logic of automatic generating op functions for dygraph.
2021-10-28 21:51:42 4. You must have one RD (Avin0323(Recommend) or zhouwei25 or wanghuancoder or luotao1) approval for modifying unity_build_rule.cmake which the rules of Unity Build.
2021-10-28 21:51:42 There are 5 approved errors.
2021-10-28 21:51:42 ****************
2021-10-28 21:51:42 + EXCODE=6
2021-10-28 21:51:42 + echo 'EXCODE: 6'
2021-10-28 21:51:42 EXCODE: 6
2021-10-28 21:51:42 + echo 'ipipe_log_param_EXCODE: 6'
2021-10-28 21:51:42 ipipe_log_param_EXCODE: 6
2021-10-28 21:51:42 + exit 6

🔹 Failed: PR-CI-Mac-Python3

build_failed
2021-10-28 21:56:09 + collect_ccache_hits
2021-10-28 21:56:09 ++ ccache -s
2021-10-28 21:56:09 ++ grep 'cache hit rate'
2021-10-28 21:56:09 ++ awk '{print $4}'
2021-10-28 21:56:09 + rate=86.32
2021-10-28 21:56:09 + echo 'ccache hit rate: 86.32%'
2021-10-28 21:56:09 ccache hit rate: 86.32%
2021-10-28 21:56:09 + echo 'ipipe_log_param_Ccache_Hit_Rate: 86.32%'
2021-10-28 21:56:09 + '[' 2 '!=' 0 ']'
2021-10-28 21:56:09 + exit 7
2021-10-28 21:56:09 + EXCODE=7
2021-10-28 21:56:09 + echo 'EXCODE: 7'
2021-10-28 21:56:09 EXCODE: 7
2021-10-28 21:56:09 + echo 'ipipe_log_param_EXCODE: 7'
2021-10-28 21:56:09 ipipe_log_param_EXCODE: 7
2021-10-28 21:56:09 + '[' 7 -eq 0 ']'
2021-10-28 21:56:09 + set +x
2021-10-28 21:56:09 Sorry, build failed.
2021-10-28 21:56:09 + exit 7

🔹 Failed: PR-CI-NPU

Unknown Failed
2021-10-28 22:01:52 + set +x
2021-10-28 22:01:52 + SOURCE=/paddle/build/coverage-diff
2021-10-28 22:01:52 + [[ -d /paddle/build/coverage-diff ]]
2021-10-28 22:01:52 + [[ -f /paddle/build/coverage-diff ]]
2021-10-28 22:01:52 + echo 'No such file or directory: /paddle/build/coverage-diff'
2021-10-28 22:01:52 No such file or directory: /paddle/build/coverage-diff
2021-10-28 22:01:52 + exit 0
2021-10-28 22:01:52 report uploaded
2021-10-28 22:01:52 ===================================================================
2021-10-28 22:01:52 c++-coverage
2021-10-28 22:01:52 https://xly.bce.baidu.com/ipipe/ipipe-report/report/8729635/c++-coverage/
2021-10-28 22:01:52 ===================================================================
2021-10-28 22:01:52 + [[ 7 -eq 0 ]]
2021-10-28 22:01:52 + [[ 7 -eq 4 ]]
2021-10-28 22:01:52 + [[ 7 -eq 6 ]]
2021-10-28 22:01:52 + [[ 7 -eq 7 ]]
2021-10-28 22:01:52 + echo 'Sorry, build failed.'
2021-10-28 22:01:52 Sorry, build failed.
2021-10-28 22:01:52 + exit 7

🔹 Failed: PR-CI-Kunlun

Unknown Failed
2021-10-28 21:59:03 [INFO] Running on (Kunlun-3) with agent(v1.2.7) in workspace /home/xly/workspace/bcf2ebbe-353a-4353-9b40-bd44d8b1eb44
2021-10-28 21:59:03 + set +x
2021-10-28 21:59:03 Cleanup...
2021-10-28 21:59:13 + '[' -d /home/ssd1/Paddle ']'
2021-10-28 21:59:13 + rm -rf /home/ssd1/Paddle
2021-10-28 21:59:17 rm: cannot remove `/home/ssd1/Paddle/build/paddle/fluid/operators': Directory not empty

Please sign in to comment.