Fatal error: Unexpected cudaStreamQuery failure: unspecified launch failure

Hello! Friends,
I have Cuda 10.2 installed in ubuntu 18.04. Upon running GROMACS -a Molecular Dynamics software, if i run my simulations for shorter period - than the simulation runs smoothly on CPU, but if I run the simulations for longer period than simulation (part of it )runs on GPU (Quadro P620) and i get an error

Program: gmx mdrun, version 2020.3
Source file: src/gromacs/gpu_utils/cudautils.cuh (line 260)

Fatal error:
Unexpected cudaStreamQuery failure: unspecified launch failure

I have Nvidia Driver Version: 440.33.01 installed. I guess the problem is with CUDA and GPU . Can some one help me out with the problem