|
4 | 4 | <config
|
5 | 5 | Name="NVIDIA CUDA Compiler"
|
6 | 6 | ShortName="nvcc"
|
7 |
| - HostCompiler="MSVCPP160" |
| 7 | + HostCompiler="MSVCPP190" |
8 | 8 | Manufacturer="NVIDIA"
|
9 | 9 | Version="XXX_CUDA_VER"
|
10 | 10 | Language="CUDA"
|
|
41 | 41 | INCLUDE="-I"$MATLABROOT\extern\include""
|
42 | 42 |
|
43 | 43 | ARCH_FLAGS="XXX_ARCH_FLAGS"
|
44 |
| - NVCC_FLAGS="--std=c++14 --default-stream per-thread --expt-extended-lambda --expt-relaxed-constexpr $ARCH_FLAGS" |
| 44 | + NVCC_FLAGS="--std=c++14 --default-stream per-thread --expt-extended-lambda --expt-relaxed-constexpr -allow-unsupported-compiler $ARCH_FLAGS" |
45 | 45 |
|
46 | 46 | COMPILER="nvcc"
|
47 | 47 | COMPFLAGS="--compiler-options=/Zp8,/GR,/bigobj,/W3,/EHs,/nologo,/MD,/arch:AVX2 $NVCC_FLAGS"
|
|
76 | 76 | <and>
|
77 | 77 | <envVarExists name="ProgramFiles(x86)" />
|
78 | 78 | <fileExists name="$$\Microsoft Visual Studio\Installer\vswhere.exe" />
|
79 |
| - <cmdReturns name=""$$\\vswhere.exe" -version "[16.0,17.0)" -products Microsoft.VisualStudio.Product.Enterprise -property installationPath -format value" /> |
| 79 | + <cmdReturns name=""$$\\vswhere.exe" -version "[17.0,18.0)" -products Microsoft.VisualStudio.Product.Enterprise -property installationPath -format value" /> |
80 | 80 | <cmdReturns name="set "vcroot=$$"&for /f "delims= " %a in ('type "$$\VC\Auxiliary\Build\Microsoft.VCToolsVersion.default.txt"') do @if exist "$$\VC\Tools\MSVC\%a\bin\HostX64\x64\cl.exe" call echo %vcroot%" />
|
81 | 81 | </and>
|
82 | 82 | <and>
|
83 | 83 | <envVarExists name="ProgramFiles(x86)" />
|
84 | 84 | <fileExists name="$$\Microsoft Visual Studio\Installer\vswhere.exe" />
|
85 |
| - <cmdReturns name=""$$\\vswhere.exe" -version "[16.0,17.0)" -products Microsoft.VisualStudio.Product.Professional -property installationPath -format value" /> |
| 85 | + <cmdReturns name=""$$\\vswhere.exe" -version "[17.0,18.0)" -products Microsoft.VisualStudio.Product.Professional -property installationPath -format value" /> |
86 | 86 | <cmdReturns name="set "vcroot=$$"&for /f "delims= " %a in ('type "$$\VC\Auxiliary\Build\Microsoft.VCToolsVersion.default.txt"') do @if exist "$$\VC\Tools\MSVC\%a\bin\HostX64\x64\cl.exe" call echo %vcroot%" />
|
87 | 87 | </and>
|
88 | 88 | <and>
|
89 | 89 | <envVarExists name="ProgramFiles(x86)" />
|
90 | 90 | <fileExists name="$$\Microsoft Visual Studio\Installer\vswhere.exe" />
|
91 |
| - <cmdReturns name=""$$\\vswhere.exe" -version "[16.0,17.0)" -products Microsoft.VisualStudio.Product.Community -property installationPath -format value" /> |
| 91 | + <cmdReturns name=""$$\\vswhere.exe" -version "[17.0,18.0)" -products Microsoft.VisualStudio.Product.Community -property installationPath -format value" /> |
92 | 92 | <cmdReturns name="set "vcroot=$$"&for /f "delims= " %a in ('type "$$\VC\Auxiliary\Build\Microsoft.VCToolsVersion.default.txt"') do @if exist "$$\VC\Tools\MSVC\%a\bin\HostX64\x64\cl.exe" call echo %vcroot%" />
|
93 | 93 | </and>
|
94 | 94 | </or>
|
|
106 | 106 | <and>
|
107 | 107 | <envVarExists name="ProgramFiles(x86)" />
|
108 | 108 | <fileExists name="$$\Microsoft Visual Studio\Installer\vswhere.exe" />
|
109 |
| - <cmdReturns name=""$$\\vswhere.exe" -version "[16.0,17.0)" -products Microsoft.VisualStudio.Product.Enterprise -property installationPath -format value" /> |
| 109 | + <cmdReturns name=""$$\\vswhere.exe" -version "[17.0,18.0)" -products Microsoft.VisualStudio.Product.Enterprise -property installationPath -format value" /> |
110 | 110 | </and>
|
111 | 111 | <and>
|
112 | 112 | <envVarExists name="ProgramFiles(x86)" />
|
113 | 113 | <fileExists name="$$\Microsoft Visual Studio\Installer\vswhere.exe" />
|
114 |
| - <cmdReturns name=""$$\\vswhere.exe" -version "[16.0,17.0)" -products Microsoft.VisualStudio.Product.Professional -property installationPath -format value" /> |
| 114 | + <cmdReturns name=""$$\\vswhere.exe" -version "[17.0,18.0)" -products Microsoft.VisualStudio.Product.Professional -property installationPath -format value" /> |
115 | 115 | </and>
|
116 | 116 | <and>
|
117 | 117 | <envVarExists name="ProgramFiles(x86)" />
|
118 | 118 | <fileExists name="$$\Microsoft Visual Studio\Installer\vswhere.exe" />
|
119 |
| - <cmdReturns name=""$$\\vswhere.exe" -version "[16.0,17.0)" -products Microsoft.VisualStudio.Product.Community -property installationPath -format value" /> |
| 119 | + <cmdReturns name=""$$\\vswhere.exe" -version "[17.0,18.0)" -products Microsoft.VisualStudio.Product.Community -property installationPath -format value" /> |
120 | 120 | </and>
|
121 | 121 | </or>
|
122 | 122 | </VSINSTALLDIR>
|
|
125 | 125 | <and>
|
126 | 126 | <envVarExists name="ProgramFiles(x86)" />
|
127 | 127 | <fileExists name="$$\Microsoft Visual Studio\Installer\vswhere.exe" />
|
128 |
| - <cmdReturns name=""$$\\vswhere.exe" -version "[16.0,17.0)" -products Microsoft.VisualStudio.Product.Enterprise -property installationPath -format value" /> |
| 128 | + <cmdReturns name=""$$\\vswhere.exe" -version "[17.0,18.0)" -products Microsoft.VisualStudio.Product.Enterprise -property installationPath -format value" /> |
129 | 129 | <cmdReturns name="set "vcroot=$$"&for /f "delims= " %a in ('type "$$\VC\Auxiliary\Build\Microsoft.VCToolsVersion.default.txt"') do @if exist "$$\VC\Tools\MSVC\%a\bin\HostX64\x64\cl.exe" call echo %vcroot%\VC\Tools\MSVC\%a" />
|
130 | 130 | </and>
|
131 | 131 | <and>
|
132 | 132 | <envVarExists name="ProgramFiles(x86)" />
|
133 | 133 | <fileExists name="$$\Microsoft Visual Studio\Installer\vswhere.exe" />
|
134 |
| - <cmdReturns name=""$$\\vswhere.exe" -version "[16.0,17.0)" -products Microsoft.VisualStudio.Product.Professional -property installationPath -format value" /> |
| 134 | + <cmdReturns name=""$$\\vswhere.exe" -version "[17.0,18.0)" -products Microsoft.VisualStudio.Product.Professional -property installationPath -format value" /> |
135 | 135 | <cmdReturns name="set "vcroot=$$"&for /f "delims= " %a in ('type "$$\VC\Auxiliary\Build\Microsoft.VCToolsVersion.default.txt"') do @if exist "$$\VC\Tools\MSVC\%a\bin\HostX64\x64\cl.exe" call echo %vcroot%\VC\Tools\MSVC\%a" />
|
136 | 136 | </and>
|
137 | 137 | <and>
|
138 | 138 | <envVarExists name="ProgramFiles(x86)" />
|
139 | 139 | <fileExists name="$$\Microsoft Visual Studio\Installer\vswhere.exe" />
|
140 |
| - <cmdReturns name=""$$\\vswhere.exe" -version "[16.0,17.0)" -products Microsoft.VisualStudio.Product.Community -property installationPath -format value" /> |
| 140 | + <cmdReturns name=""$$\\vswhere.exe" -version "[17.0,18.0)" -products Microsoft.VisualStudio.Product.Community -property installationPath -format value" /> |
141 | 141 | <cmdReturns name="set "vcroot=$$"&for /f "delims= " %a in ('type "$$\VC\Auxiliary\Build\Microsoft.VCToolsVersion.default.txt"') do @if exist "$$\VC\Tools\MSVC\%a\bin\HostX64\x64\cl.exe" call echo %vcroot%\VC\Tools\MSVC\%a" />
|
142 | 142 | </and>
|
143 | 143 | </or>
|
|
147 | 147 | <and>
|
148 | 148 | <envVarExists name="ProgramFiles(x86)" />
|
149 | 149 | <fileExists name="$$\Microsoft Visual Studio\Installer\vswhere.exe" />
|
150 |
| - <cmdReturns name=""$$\\vswhere.exe" -version "[16.0,17.0)" -products Microsoft.VisualStudio.Product.Enterprise -property installationPath -format value" /> |
| 150 | + <cmdReturns name=""$$\\vswhere.exe" -version "[17.0,18.0)" -products Microsoft.VisualStudio.Product.Enterprise -property installationPath -format value" /> |
151 | 151 | <fileExists name="$$\VC\Auxiliary\Build\vcvarsall.bat" />
|
152 | 152 | <dirExists name="$$"/>
|
153 | 153 | </and>
|
154 | 154 | <and>
|
155 | 155 | <envVarExists name="ProgramFiles(x86)" />
|
156 | 156 | <fileExists name="$$\Microsoft Visual Studio\Installer\vswhere.exe" />
|
157 |
| - <cmdReturns name=""$$\\vswhere.exe" -version "[16.0,17.0)" -products Microsoft.VisualStudio.Product.Professional -property installationPath -format value" /> |
| 157 | + <cmdReturns name=""$$\\vswhere.exe" -version "[17.0,18.0)" -products Microsoft.VisualStudio.Product.Professional -property installationPath -format value" /> |
158 | 158 | <fileExists name="$$\VC\Auxiliary\Build\vcvarsall.bat" />
|
159 | 159 | <dirExists name="$$"/>
|
160 | 160 | </and>
|
161 | 161 | <and>
|
162 | 162 | <envVarExists name="ProgramFiles(x86)" />
|
163 | 163 | <fileExists name="$$\Microsoft Visual Studio\Installer\vswhere.exe" />
|
164 |
| - <cmdReturns name=""$$\\vswhere.exe" -version "[16.0,17.0)" -products Microsoft.VisualStudio.Product.Community -property installationPath -format value" /> |
| 164 | + <cmdReturns name=""$$\\vswhere.exe" -version "[17.0,18.0)" -products Microsoft.VisualStudio.Product.Community -property installationPath -format value" /> |
165 | 165 | <fileExists name="$$\VC\Auxiliary\Build\vcvarsall.bat" />
|
166 | 166 | <dirExists name="$$"/>
|
167 | 167 | </and>
|
|
0 commit comments