Emgu.CV.Util.CvException: OpenCV: no kernel image is available for execution on the device

I am trying to run a windows application on my new laptop with GPU NVIDIA RTX 3070 with Cuda toolkit version 11.4 installed on it, but I am having OpenCV no kernel image is available exception. I am not sure how to solve this error please if someone can help me to solve I appreciate it.