提交 ee97687f 编写于 作者: Y Yu Yang

Fix compile

上级 3aa2a8ff
......@@ -58,7 +58,7 @@ TEST(CPUAllocator, LockMem) {
#ifdef PADDLE_WITH_CUDA
TEST(GPUAllocator, Alloc) {
paddle::memory::detail::GPUAllocator a;
paddle::memory::detail::GPUAllocator a(0);
TestAllocator(a, 2048);
TestAllocator(a, 0);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册