Skip to content

Commit

Permalink
move memcpy.h into cc file (#39469)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenwhql authored Feb 11, 2022
1 parent 52bbaae commit 575fa0f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions paddle/pten/core/selected_rows.cc
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,12 @@ See the License for the specific language governing permissions and
limitations under the License. */

#include "paddle/pten/core/selected_rows.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 {

struct ReAllocateVisitor {
Expand Down
1 change: 0 additions & 1 deletion paddle/pten/core/selected_rows.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ limitations under the License. */

// See Note [ Why still include the fluid headers? ]
#include "paddle/fluid/framework/mixed_vector.h"
#include "paddle/fluid/memory/memcpy.h"

namespace egr {
class EagerTensor;
Expand Down

0 comments on commit 575fa0f

Please sign in to comment.