Skip to content

Commit

Permalink
remove kernel_instantiate (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
MingMingShangTian authored Oct 20, 2021
1 parent 373f9c1 commit ce210b4
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 ce210b4

@paddle-bot-old
Copy link

@paddle-bot-old paddle-bot-old bot commented on ce210b4 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: ce210b4 contains failed CI.

🔹 Failed: PR-CI-APPROVAL

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

🔹 Failed: PR-CI-Py3

test_failed
2021-10-20 21:36:13 The following tests FAILED:
2021-10-20 21:36:13 244 - test_trt_dynamic_shape_ernie_ser_deser (Failed)
2021-10-20 21:36:13 244 - test_trt_dynamic_shape_ernie_ser_deser (Failed)
2021-10-20 21:36:13 + EXCODE=8
2021-10-20 21:36:13 + echo 'EXCODE: 8'
2021-10-20 21:36:13 EXCODE: 8
2021-10-20 21:36:13 + echo 'ipipe_log_param_EXCODE: 8'
2021-10-20 21:36:13 ipipe_log_param_EXCODE: 8
2021-10-20 21:36:13 + [[ 8 -eq 0 ]]
2021-10-20 21:36:13 + set +x
2021-10-20 21:36:13 Sorry, some tests failed.
2021-10-20 21:36:13 + exit 8
2021-10-20 21:36:13 {build code state=8}
2021-10-20 21:36:23 kill agent BUILD_CODE_FAIL

Please sign in to comment.