File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change 1212// See the License for the specific language governing permissions and
1313// limitations under the License.
1414
15+ #include " paddle/phi/kernels/gpu/ap_facade_kernel.h"
1516#include " paddle/common/enforce.h"
1617#include " paddle/phi/backends/gpu/gpu_context.h"
1718#include " paddle/phi/core/dense_tensor.h"
Original file line number Diff line number Diff line change 1+ // Copyright (c) 2025 PaddlePaddle Authors. All Rights Reserved.
2+ //
3+ // Licensed under the Apache License, Version 2.0 (the "License");
4+ // you may not use this file except in compliance with the License.
5+ // You may obtain a copy of the License at
6+ //
7+ // http://www.apache.org/licenses/LICENSE-2.0
8+ //
9+ // Unless required by applicable law or agreed to in writing, software
10+ // distributed under the License is distributed on an "AS IS" BASIS,
11+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ // See the License for the specific language governing permissions and
13+ // limitations under the License.
14+
15+ #pragma once
16+
17+ #include < string>
18+ #include < vector>
19+ #include " paddle/phi/core/dense_tensor.h"
20+
21+ namespace phi {
22+
23+ template <typename T, typename Context>
24+ void ApFacadeKernel (const Context& dev_ctx,
25+ const paddle::optional<std::vector<const DenseTensor*>>& xs,
26+ int64_t num_outputs,
27+ const std::string& custom_op_name,
28+ const std::string& infer_meta_func_name,
29+ const std::string& infer_symbolic_func_name,
30+ const std::string& serialized_attributes,
31+ std::vector<DenseTensor*> outs);
32+
33+ } // namespace phi
You can’t perform that action at this time.
0 commit comments