Gromacs doesn’t support CUDA 11 yet. I have same issue and haven’t found any solution yet. See this thread, might help in your case.