OpenCV 4.2.0 does not seem to work with CUDNN 8.0

Thanks for the response. I have installed OCV 4.4.0 now which seems to be working smoothly and seems to work with ROS noetic