未验证 提交 defbd4f9 编写于 作者: qnqinan's avatar qnqinan 提交者: GitHub

Merge pull request #1338 from zhangyang0701/develop

Fix bug for FPGA track
......@@ -92,7 +92,8 @@ void fpga_free(void *ptr) {
}
void fpga_copy(void *dest, const void *src, size_t num) {
#ifdef PADDLE_MOBILE_ZU5
driver::fpga_copy_driver(dest, src, num);
// driver::fpga_copy_driver(dest, src, num);
memcpy(dest, src, num);
#else
memcpy(dest, src, num);
#endif
......
......@@ -26,6 +26,7 @@ int ComputeFpgaEWAdd(const struct EWAddArgs& args);
int ComputeFpgaConv(const struct SplitConvArgs& args);
int ComputeFPGAConcat(const struct ConcatArgs& args);
int ComputeFPGASplit(const struct SplitArgs& args);
int ComputeFpgaDeconv(const struct DeconvArgs& args);
} // namespace fpga
} // namespace paddle_mobile
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册