Runtime error: Stack around the variable 'deviceProp' was corrupted

Hi,

I am trying to run an application that uses the CUDA core. When an application tries to run than getting some runtime error like,
Run-Time Check Failure #2 - Stack around the variable ‘deviceProp’ was corrupted.

The error comes from the CUDA core.

My application was running perfectly till now, but today it started throwing such errors.
Don’t know what’s happened!

I am using CUDA 10.2 with Visual Studio 2017 with a Windows-10 64bit system.

I have also uninstalled and then installed the CUDA toolkit version 10.2 but am still having the same issues.

I have also attached a picture for your reference where it shows an error.

Please let me know the best solution for the same as it is a roadblock for me.

Thanks,
RonakError_Snippet