Skip to content

Commit

Permalink
remove kernel_instantiate
Browse files Browse the repository at this point in the history
  • Loading branch information
MingMingShangTian committed Oct 20, 2021
1 parent 466ce03 commit e80b33f
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 69 deletions.
54 changes: 0 additions & 54 deletions cmake/pten.cmake

This file was deleted.

1 change: 0 additions & 1 deletion paddle/pten/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
include(pten)
# pten api
add_subdirectory(api)
# pten high level api
Expand Down
7 changes: 0 additions & 7 deletions paddle/pten/kernels/cpu/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
if(WIN32)
set(CURRENT_BINARY_DIR ${PADDLE_BINARY_DIR}/paddle/pten/kernels/cpu)
kernel_instantiate(creation.cc)
kernel_instantiate(math.cc)
kernel_instantiate(linalg.cc)
endif()

cc_library(math_cpu SRCS math.cc DEPS dense_tensor kernel_context kernel_factory eigen_function)
cc_library(linalg_cpu SRCS linalg.cc DEPS dense_tensor kernel_context kernel_factory)
cc_library(creation_cpu SRCS creation.cc DEPS dense_tensor kernel_context kernel_factory eigen_function)
Expand Down
7 changes: 0 additions & 7 deletions paddle/pten/kernels/cuda/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
if(WIN32)
set(CURRENT_BINARY_DIR ${PADDLE_BINARY_DIR}/paddle/pten/kernels/cuda)
kernel_instantiate(creation.cu)
kernel_instantiate(math.cu)
kernel_instantiate(linalg.cu)
endif()

if(WITH_GPU)
nv_library(math_cuda SRCS math.cu DEPS eigen_function dense_tensor convert_utils kernel_context kernel_factory)
nv_library(linalg_cuda SRCS linalg.cu DEPS eigen_function dense_tensor kernel_context kernel_factory)
Expand Down

1 comment on commit e80b33f

@paddle-bot-old
Copy link

@paddle-bot-old paddle-bot-old bot commented on e80b33f Oct 20, 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: #26 Commit ID: e80b33f contains failed CI.

🔹 Failed: PR-CI-APPROVAL

approve_failed
2021-10-20 11:00:29 正在保存至: “bk.txt”
2021-10-20 11:00:29 0K 100% 1.43M=0s
2021-10-20 11:00:29 2021-10-20 11:00:29 (1.43 MB/s) - 已保存 “bk.txt” [5/5])
2021-10-20 11:00:36 ****************
2021-10-20 11:00:36 0. You must have one RD (lanxianghit (Recommend), phlrain or luotao1) approval for changing the FLAGS, which manages the environment variables.
2021-10-20 11:00:36 1. You must have Dianhai approval for change 20+ files or add than 1000+ lines of content.
2021-10-20 11:00:36 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-20 11:00:36 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-20 11:00:36 4. You must have one RD (XiaoguangHu01,chenwhql,zhiqiu,Xreki,luotao1) approval for the usage of const_cast.
2021-10-20 11:00:36 5. 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-20 11:00:36 There are 6 approved errors.
2021-10-20 11:00:36 ****************
2021-10-20 11:00:36 + EXCODE=6
2021-10-20 11:00:36 + echo 'EXCODE: 6'
2021-10-20 11:00:36 EXCODE: 6
2021-10-20 11:00:36 + echo 'ipipe_log_param_EXCODE: 6'
2021-10-20 11:00:36 ipipe_log_param_EXCODE: 6
2021-10-20 11:00:36 + exit 6

🔹 Failed: PR-CI-OP-benchmark

Unknown Failed
2021-10-20 15:21:46 + echo '[tools/test_ci_op_benchmark.sh:271] [ERROR] Missing test script of "mean"(paddle/fluid/operators/mean_op.cu) in benchmark.'
2021-10-20 15:21:46 [tools/test_ci_op_benchmark.sh:271] [ERROR] Missing test script of "mean"(paddle/fluid/operators/mean_op.cu) in benchmark.
2021-10-20 15:21:46 + for op_name in '${!CHANGE_OP_MAP[@]}'
2021-10-20 15:21:46 + '[' -z '' ']'
2021-10-20 15:21:46 + exit_code=8
2021-10-20 15:21:46 + LOG '[ERROR] Missing test script of "fill_any_like"(paddle/fluid/operators/fill_any_like_op.cu) in benchmark.'
2021-10-20 15:21:46 + echo '[tools/test_ci_op_benchmark.sh:271] [ERROR] Missing test script of "fill_any_like"(paddle/fluid/operators/fill_any_like_op.cu) in benchmark.'
2021-10-20 15:21:46 [tools/test_ci_op_benchmark.sh:271] [ERROR] Missing test script of "fill_any_like"(paddle/fluid/operators/fill_any_like_op.cu) in benchmark.
2021-10-20 15:21:46 + for op_name in '${!CHANGE_OP_MAP[@]}'
2021-10-20 15:21:46 + '[' -z matmul,matmul,matmul.json,True ']'
2021-10-20 15:21:46 + '[' 8 -ne 0 ']'
2021-10-20 15:21:46 + LOG '[INFO] See https://github.com/PaddlePaddle/Paddle/wiki/PR-CI-OP-benchmark-Manual for details.'
2021-10-20 15:21:46 + echo '[tools/test_ci_op_benchmark.sh:275] [INFO] See https://github.com/PaddlePaddle/Paddle/wiki/PR-CI-OP-benchmark-Manual for details.'
2021-10-20 15:21:46 [tools/test_ci_op_benchmark.sh:275] [INFO] See https://github.com/PaddlePaddle/Paddle/wiki/PR-CI-OP-benchmark-Manual for details.
2021-10-20 15:21:46 + LOG '[INFO] Or you can apply for one RD (Avin0323(Recommend), Xreki, luotao1) approval to pass this PR.'
2021-10-20 15:21:46 + echo '[tools/test_ci_op_benchmark.sh:276] [INFO] Or you can apply for one RD (Avin0323(Recommend), Xreki, luotao1) approval to pass this PR.'
2021-10-20 15:21:46 [tools/test_ci_op_benchmark.sh:276] [INFO] Or you can apply for one RD (Avin0323(Recommend), Xreki, luotao1) approval to pass this PR.
2021-10-20 15:21:46 + exit 8
2021-10-20 15:21:46 {build code state=8}

Please sign in to comment.