'cudafe++' died with status 0xC0000005 (ACCESS_VIOLATION)

This is unlikely to be a latent issue in CUDA. My guess would be that the problem is some sort of installation problem - e.g. out of disk space, not having permissions for various directories (for example compiling code in a directory structure you don’t have write access to), incorrect install location, etc. There’s not enough information here to diagnose the problem, and I wouldn’t be able to give you a recipe of all the things to check. There may also be some sort of unexpected project setting. Are you able to compile successfully one of the CUDA sample projects using the supplied project file?

A few things I noticed are:

  • you don’t have a #include <cstdio> statement or similar, which is needed for printf, but you may have that in your actual test case, and I think in windows it may be included automatically.

  • You have a single quote at the end of your posted code: ’

  • Your code is not formatted properly (see here for typical instructions

I don’t think any of those statement are related to the cudafe++ issue.