GPU memory not recognized for the code - nsight compute

I believe what is going on here is that you have hit a known issue with the way Nsight Systems does time synchronization. A workaround is given in the documentation known issues as we work on a fix: