| 18 | #include "paddle/phi/common/memory_utils.h" |
| 19 | |
| 20 | TEST(InitPhi, InitPhi) { |
| 21 | phi::MemoryUtils::Instance().CheckMemoryMethod(); |
| 22 | phi::MemoryUtils::Instance().InitDevices(); |
| 23 | ASSERT_EQ(phi::DeviceContextPool::IsInitialized(), true); |
| 24 | } |
| 25 | |
| 26 | int main(int argc, char** argv) { |
| 27 | ::testing::InitGoogleTest(&argc, argv); |
nothing calls this directly
no test coverage detected