Where to find /opencv2/gpu/gpu.hpp in Opencv 3.1.0 - OpenCV Q&A Forum

I have recently installed OpenCV 3.1.0 from git, with CUDA enabled while installation. Now when I try to compile my code using a Makefile , I get the following error. fatal error: opencv2/gpu/gpu.hpp: No such file or directory compilation terminated. When I checked /usr/local/include/opencv2/gpu (w…