Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions paddle/phi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ add_subdirectory(backends)
add_subdirectory(kernels)
# phi infermeta
add_subdirectory(infermeta)
# phi tools
add_subdirectory(tools)
# phi capi
if(WITH_CUSTOM_DEVICE)
add_subdirectory(capi)
Expand Down
4 changes: 4 additions & 0 deletions paddle/phi/backends/dynload/cublas.cc
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,8 @@ CUBLAS_BLAS_ROUTINE_EACH_R3(DEFINE_WRAP);
#ifdef CUBLAS_BLAS_ROUTINE_EACH_R4
CUBLAS_BLAS_ROUTINE_EACH_R4(DEFINE_WRAP);
#endif

#ifdef CUBLAS_BLAS_ROUTINE_EACH_R5
CUBLAS_BLAS_ROUTINE_EACH_R5(DEFINE_WRAP);
#endif
} // namespace phi::dynload
7 changes: 2 additions & 5 deletions paddle/phi/kernels/funcs/dropout_impl.cu.h
Original file line number Diff line number Diff line change
Expand Up @@ -357,11 +357,8 @@ void DropoutFwGPUKernelDriver(
parameterSetter = [offset, dev_ctx_p, state_index, is_fix_seed](
phi::backends::gpu::gpuKernelParams& params) {
if (!is_fix_seed) {
// we assume seed is null pointer
// seed copy to cpu is meaningless here
#ifndef PADDLE_WITH_HIP
assert(seed_tensor_ptr == nullptr);
#endif
// we assume seed is null pointer
// seed copy to cpu is meaningless here
auto gen_cuda = dev_ctx_p->GetGenerator();
// ensure the generator use correct state index
gen_cuda->SetStateIndex(state_index);
Expand Down
17 changes: 0 additions & 17 deletions paddle/phi/tools/CMakeLists.txt

This file was deleted.

24 changes: 0 additions & 24 deletions paddle/phi/tools/print_phi_kernels.cc

This file was deleted.

Loading