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 diff --git a/src/fpga/common/pe.h b/src/fpga/common/pe.h index ae773f25b4171df3e552aaa07bb05af8564d872a..38a5ff92f4e301ce2da7d2111e50be6047186ab3 100644 --- a/src/fpga/common/pe.h +++ b/src/fpga/common/pe.h @@ -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