Skip to content

Commit cccfde1

Browse files
authored
add full_with_tensor to xpu3 list (PaddlePaddle#71493)
1 parent 2035fb9 commit cccfde1

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

paddle/phi/backends/xpu/xpu3_op_list.cc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1730,6 +1730,17 @@ XPUOpMap& get_kl3_ops() {
17301730
phi::DataType::INT64})},
17311731
{"blha_get_max_len",
17321732
XPUKernelSet({phi::DataType::INT32, phi::DataType::INT64})},
1733+
{"full_with_tensor",
1734+
XPUKernelSet({phi::DataType::FLOAT32,
1735+
phi::DataType::FLOAT16,
1736+
phi::DataType::BFLOAT16,
1737+
phi::DataType::FLOAT64,
1738+
phi::DataType::BOOL,
1739+
phi::DataType::INT8,
1740+
phi::DataType::UINT8,
1741+
phi::DataType::INT16,
1742+
phi::DataType::INT64,
1743+
phi::DataType::INT32})},
17331744
};
17341745

17351746
return s_xpu3_kernels;

0 commit comments

Comments
 (0)