From 7340ba022688858ddb8ddc15da9b11633d86213f Mon Sep 17 00:00:00 2001 From: zhangyang Date: Fri, 7 Dec 2018 11:06:29 +0800 Subject: [PATCH] fix bug for FPGA track --- src/fpga/common/fpga_common.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fpga/common/fpga_common.cpp b/src/fpga/common/fpga_common.cpp index 9c7ae838fa..53c9173723 100644 --- a/src/fpga/common/fpga_common.cpp +++ b/src/fpga/common/fpga_common.cpp @@ -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 -- GitLab