Skip to content

Commit 544254f

Browse files
authored
Correct fluid/memory (#9716)
1 parent 0c43a37 commit 544254f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

paddle/fluid/memory/memory_test.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ See the License for the specific language governing permissions and
1313
limitations under the License. */
1414

1515
#include "paddle/fluid/memory/memory.h"
16+
17+
#include <unordered_map>
18+
19+
#include "gtest/gtest.h"
1620
#include "paddle/fluid/memory/detail/memory_block.h"
1721
#include "paddle/fluid/memory/detail/meta_data.h"
18-
1922
#include "paddle/fluid/platform/cpu_info.h"
2023
#include "paddle/fluid/platform/gpu_info.h"
2124
#include "paddle/fluid/platform/place.h"
2225

23-
#include <gtest/gtest.h>
24-
#include <unordered_map>
25-
2626
inline bool is_aligned(void const *p) {
2727
return 0 == (reinterpret_cast<uintptr_t>(p) & 0x3);
2828
}

0 commit comments

Comments
 (0)