diff --git a/src/fpga/common/fpga_common.cpp b/src/fpga/common/fpga_common.cpp index 9c7ae838fa4216d121cf38a11ef4897043b9a0dd..53c9173723e8868d8701cfd665e39fddeb97bbe5 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