//#include #include "opencv2/opencv.hpp" #include "opencv2/imgproc/imgproc.hpp" #include "opencv2/highgui/highgui.hpp" #include "opencv2/gpu/gpu.hpp" #include #include #include int main() { int gpus=cv::gpu::getCudaEnabledDeviceCount(); if (gpus) printf("OpenCV is gpu enabled! %d GPUs found\n",gpus); else printf("OpenCV is not gpu enabled! Check build flags and hardware\n"); return 0; }