未验证 提交 575fa0fe 编写于 作者: C Chen Weihang 提交者: GitHub

move memcpy.h into cc file (#39469)

上级 52bbaae9
...@@ -13,8 +13,12 @@ See the License for the specific language governing permissions and ...@@ -13,8 +13,12 @@ See the License for the specific language governing permissions and
limitations under the License. */ limitations under the License. */
#include "paddle/pten/core/selected_rows.h" #include "paddle/pten/core/selected_rows.h"
#include "paddle/pten/core/utils/data_type.h" #include "paddle/pten/core/utils/data_type.h"
// See Note [ Why still include the fluid headers? ]
#include "paddle/fluid/memory/memcpy.h"
namespace pten { namespace pten {
struct ReAllocateVisitor { struct ReAllocateVisitor {
......
...@@ -29,7 +29,6 @@ limitations under the License. */ ...@@ -29,7 +29,6 @@ limitations under the License. */
// See Note [ Why still include the fluid headers? ] // See Note [ Why still include the fluid headers? ]
#include "paddle/fluid/framework/mixed_vector.h" #include "paddle/fluid/framework/mixed_vector.h"
#include "paddle/fluid/memory/memcpy.h"
namespace egr { namespace egr {
class EagerTensor; class EagerTensor;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册