It usually means your application process didn’t terminate successfully. For example, if your application hits a seg fault, you might see something like this if you ran cuda-memcheck on it. You should get rid of all abnormal terminations of your host code before trying to use cuda-memcheck.
You can also read the cuda-memcheck documentation:
You haven’t provided enough information to diagnose your issue. A few lines of output from cuda-memcheck is not enough to say what exactly is wrong with your code.
If you don’t know what “seg fault” is, try googling “seg fault”.
cuda-memcheck here is objecting to a problem in your host code, not anything you are doing in device code.
And no, I can’t say exactly what that problem is in your host code, based on what you have provided.