From 7dfe3bdf7a2e7d39ee76c356c1894e72e84bc464 Mon Sep 17 00:00:00 2001
From: gaoyuan <yuan.gao@noplz.name>
Date: Mon, 19 Dec 2016 11:46:57 +0800
Subject: [PATCH] remove gpu memory alloc

---
 paddle/gserver/tests/test_PriorBox.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/paddle/gserver/tests/test_PriorBox.cpp b/paddle/gserver/tests/test_PriorBox.cpp
index 1a7217ab943..1dab21218e4 100644
--- a/paddle/gserver/tests/test_PriorBox.cpp
+++ b/paddle/gserver/tests/test_PriorBox.cpp
@@ -53,7 +53,7 @@ void doOnePriorBoxTest(size_t featureMapWidth,
   LayerMap layerMap;
   vector<Argument> datas;
   initDataLayer(
-      configt, &dataLayers, &datas, &layerMap, "priorbox", 1, false, true);
+      configt, &dataLayers, &datas, &layerMap, "priorbox", 1, false, false);
   dataLayers[0]->getOutput().setFrameHeight(featureMapHeight);
   dataLayers[0]->getOutput().setFrameWidth(featureMapWidth);
   dataLayers[1]->getOutput().setFrameHeight(imageHeight);
-- 
GitLab