Skip to content

Commit

Permalink
fix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiqiu committed Jun 7, 2022
1 parent f6bd71d commit 5f47337
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
3 changes: 2 additions & 1 deletion paddle/phi/api/lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,8 @@ cc_library(
cc_library(
api_gen_utils
SRCS api_gen_utils.cc
DEPS phi_tensor_raw selected_rows sparse_csr_tensor sparse_coo_tensor)
DEPS phi_tensor_raw selected_rows sparse_csr_tensor sparse_coo_tensor
infermeta_utils)
cc_library(
phi_data_transform
SRCS data_transform.cc
Expand Down
21 changes: 19 additions & 2 deletions paddle/phi/kernels/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ set(COMMON_KERNEL_DEPS
selected_rows_functor)
# remove this dep after removing fluid deps on tensor creation
set(COMMON_KERNEL_DEPS ${COMMON_KERNEL_DEPS} phi_api_utils)
set(COMMON_KERNEL_DEPS ${COMMON_KERNEL_DEPS} infermeta)
set(COMMON_KERNEL_DEPS ${COMMON_KERNEL_DEPS} infermeta infermeta_utils)
set(COMMON_KERNEL_DEPS ${COMMON_KERNEL_DEPS} switch_autotune)

# # [ 2. Kernels that most kernels depend on ]
Expand Down Expand Up @@ -181,6 +181,21 @@ set(COMMON_KERNEL_DEPS
sequence_padding
sequence_scale)

set(COMMON_KERNEL_DEPS
${COMMON_KERNEL_DEPS}
dense_tensor
string_tensor
sparse_coo_tensor
sparse_csr_tensor
kernel_context
kernel_factory
arg_map_context
convert_utils
lod_utils
custom_kernel
string_infermeta
utf8proc)

copy_if_different(${kernel_declare_file} ${kernel_declare_file_final})
# For strings kernels
add_subdirectory(strings)
Expand All @@ -204,11 +219,13 @@ file(
GLOB
kernel_cu
"gpu/*.cu"
"gpu/*.cu.cc"
"gpudnn/*.cu"
"kps/*.cu"
"selected_rows/gpu/*.cc"
"sparse/gpu/*.cu"
"strings/*.cu")
"strings/*.cu"
"strings/gpu/*.cu")

# file(GLOB kernel_cudnn "gpudnn/*.cu")
# file(GLOB kernel_kps "kps/*.cu")
Expand Down

12 comments on commit 5f47337

@paddle-bot-old
Copy link

@paddle-bot-old paddle-bot-old bot commented on 5f47337 Jun 7, 2022

Choose a reason for hiding this comment

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

🕵️ CI failures summary

🔍 PR: #43247 Commit ID: 5f47337 contains failed CI.

🔹 Failed: PR-CI-CINN

Unknown Failed
Unknown Failed

🔹 Failed: PR-CI-Windows-OPENBLAS

Unknown Failed
Unknown Failed

🔹 Failed: PR-CI-Mac-Python3

Unknown Failed
Unknown Failed

@paddle-bot-old
Copy link

@paddle-bot-old paddle-bot-old bot commented on 5f47337 Jun 7, 2022

Choose a reason for hiding this comment

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

🕵️ CI failures summary

🔍 PR: #43247 Commit ID: 5f47337 contains failed CI.

🔹 Failed: PR-CI-Static-Check

Unknown Failed
Unknown Failed

@paddle-bot-old
Copy link

@paddle-bot-old paddle-bot-old bot commented on 5f47337 Jun 7, 2022

Choose a reason for hiding this comment

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

🕵️ CI failures summary

🔍 PR: #43247 Commit ID: 5f47337 contains failed CI.

🔹 Failed: PR-CI-GpuPS

Unknown Failed
Unknown Failed

@paddle-bot-old
Copy link

@paddle-bot-old paddle-bot-old bot commented on 5f47337 Jun 7, 2022

Choose a reason for hiding this comment

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

🕵️ CI failures summary

🔍 PR: #43247 Commit ID: 5f47337 contains failed CI.

🔹 Failed: PR-CI-infrt

Unknown Failed
Unknown Failed

@paddle-bot-old
Copy link

@paddle-bot-old paddle-bot-old bot commented on 5f47337 Jun 7, 2022

Choose a reason for hiding this comment

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

🕵️ CI failures summary

🔍 PR: #43247 Commit ID: 5f47337 contains failed CI.

🔹 Failed: PR-CI-Coverage

Unknown Failed
Unknown Failed

@paddle-bot-old
Copy link

@paddle-bot-old paddle-bot-old bot commented on 5f47337 Jun 7, 2022

Choose a reason for hiding this comment

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

🕵️ CI failures summary

🔍 PR: #43247 Commit ID: 5f47337 contains failed CI.

🔹 Failed: PR-CI-Py3

Unknown Failed
Unknown Failed

@paddle-bot-old
Copy link

@paddle-bot-old paddle-bot-old bot commented on 5f47337 Jun 7, 2022

Choose a reason for hiding this comment

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

🕵️ CI failures summary

🔍 PR: #43247 Commit ID: 5f47337 contains failed CI.

🔹 Failed: PR-CI-OP-benchmark

Unknown Failed
Unknown Failed

@paddle-bot-old
Copy link

Choose a reason for hiding this comment

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

🕵️ CI failures summary

🔍 PR: #43247 Commit ID: 5f47337 contains failed CI.

🔹 Failed: PR-CI-NPU

Unknown Failed
Unknown Failed

@paddle-bot-old
Copy link

Choose a reason for hiding this comment

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

🕵️ CI failures summary

🔍 PR: #43247 Commit ID: 5f47337 contains failed CI.

🔹 Failed: PR-CI-ScienceTest

Unknown Failed
Unknown Failed

@paddle-bot-old
Copy link

Choose a reason for hiding this comment

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

🕵️ CI failures summary

🔍 PR: #43247 Commit ID: 5f47337 contains failed CI.

🔹 Failed: PR-CI-Build

Unknown Failed
Unknown Failed

@paddle-bot-old
Copy link

Choose a reason for hiding this comment

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

🕵️ CI failures summary

🔍 PR: #43247 Commit ID: 5f47337 contains failed CI.

🔹 Failed: PR-CE-Framework

Unknown Failed
Unknown Failed

@paddle-bot-old
Copy link

Choose a reason for hiding this comment

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

🕵️ CI failures summary

🔍 PR: #43247 Commit ID: 5f47337 contains failed CI.

🔹 Failed: PR-CI-Model-benchmark

Unknown Failed
Unknown Failed

Please sign in to comment.