We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c43a37 commit 544254fCopy full SHA for 544254f
paddle/fluid/memory/memory_test.cc
@@ -13,16 +13,16 @@ See the License for the specific language governing permissions and
13
limitations under the License. */
14
15
#include "paddle/fluid/memory/memory.h"
16
+
17
+#include <unordered_map>
18
19
+#include "gtest/gtest.h"
20
#include "paddle/fluid/memory/detail/memory_block.h"
21
#include "paddle/fluid/memory/detail/meta_data.h"
-
22
#include "paddle/fluid/platform/cpu_info.h"
23
#include "paddle/fluid/platform/gpu_info.h"
24
#include "paddle/fluid/platform/place.h"
25
-#include <gtest/gtest.h>
-#include <unordered_map>
26
inline bool is_aligned(void const *p) {
27
return 0 == (reinterpret_cast<uintptr_t>(p) & 0x3);
28
}
0 commit comments