100
edits
Changes
→Visual Studio 2017 and CUDA 9.1 Problem
</PropertyGroup></nowiki>
*Replace all occurrences (there are 2 of them) of v141 with v140.
*Search for "CUDA 9.1.props" (you will find occurrences). Then replace the first entire line with <code><nowiki><Import Project="$(CUDAPropsPath)\CUDA 9.1.props" /></nowiki></code> and the second entire line with <code><nowiki><Import Project="$(CUDAPropsPath)\CUDA 9.1.targets" /></nowiki></code> respectively.*ReClose the file in the text editor then re-open the solutionin Visual Studio. You should now be able to add your .cu files and , build and run.