Fix compile

helinwang-patch-1
Yu Yang 7 years ago
parent 3aa2a8ffcf
commit ee97687f69

@ -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);
}

Loading…
Cancel
Save