Building test_Upsample fails when Paddle is built without CUDA
Created by: abhinavarora
Building CXX object paddle/gserver/tests/CMakeFiles/test_Upsample.dir/test_Upsample.cpp.o
/Users/aroraabhinav/Documents/workspace/paddlepaddle/Paddle/paddle/gserver/tests/test_Upsample.cpp:134:9: error: unused variable 'data'
[-Werror,-Wunused-variable]
real* data = inputMat->getData();
^
1 error generated.