I put myself VS 15 instead of the previous VS 12, on which the cuda template was perfectly added automatically. Here, however, is the problem. This template did not appear either in VS 15 or VS 13. How to add it, I do not understand something. Tell me.

    1 answer 1

    It turned out to fix it. The official site states that CUDA interacts with the following versions of MSVS:

    • Visual C ++ 12.0,
    • Visual C ++ 11.0,
    • Visual C ++ 10.0 (in the next version, most likely, will not be supported),

    and MSVC:

    • Visual Studio 2013,
    • Visual Studio Community 2013 (with limitations),
    • Visual Studio 2012,
    • Visual Studio 2010.

    In order for the configs to register themselves, you must first install VS, then the toolkit nVidia CUDA (the configs will be generated automatically and the nVidia-template will appear in the projects).

    There are problems with VS 15, so without a very serious need, I do not advise you to go over to configure this configuration. All about CUDA nVidia 7.5 and VS 15 answered here .