Skip to content

Commit 8199209

Browse files
committed
Update samples for CUDA 11.8 with correct props
1 parent b312aba commit 8199209

File tree

1,146 files changed

+4004
-4067
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,146 files changed

+4004
-4067
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.vscode/*

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
## Changelog
22

3+
### CUDA 11.6
4+
* Added new folder structure for samples
5+
* Added support of Visual Studio 2022 to all samples supported on [Windows](#windows-1).
6+
* All CUDA samples are now only available on [GitHub](https://github.com/nvidia/cuda-samples). They are no longer available via CUDA toolkit.
7+
38
### CUDA 11.5
49
* Added `cuDLAHybridMode`. Demonstrate usage of cuDLA in hybrid mode.
510
* Added `cuDLAStandaloneMode`. Demonstrate usage of cuDLA in standalone mode.

Common/helper_cuda.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -666,6 +666,7 @@ inline int _ConvertSMVer2Cores(int major, int minor) {
666666
{0x80, 64},
667667
{0x86, 128},
668668
{0x87, 128},
669+
{0x90, 128},
669670
{-1, -1}};
670671

671672
int index = 0;
@@ -712,6 +713,8 @@ inline const char* _ConvertSMVer2ArchName(int major, int minor) {
712713
{0x75, "Turing"},
713714
{0x80, "Ampere"},
714715
{0x86, "Ampere"},
716+
{0x87, "Ampere"},
717+
{0x90, "Hopper"},
715718
{-1, "Graphics Device"}};
716719

717720
int index = 0;

Common/helper_cuda_drvapi.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ inline int _ConvertSMVer2CoresDRV(int major, int minor) {
114114
{0x80, 64},
115115
{0x86, 128},
116116
{0x87, 128},
117+
{0x90, 128},
117118
{-1, -1}};
118119

119120
int index = 0;

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# CUDA Samples
22

3-
Samples for CUDA Developers which demonstrates features in CUDA Toolkit. This version supports [CUDA Toolkit 11.6](https://developer.nvidia.com/cuda-downloads).
3+
Samples for CUDA Developers which demonstrates features in CUDA Toolkit. This version supports [CUDA Toolkit 11.8](https://developer.nvidia.com/cuda-downloads).
44

55
## Release Notes
66

77
This section describes the release notes for the CUDA Samples on GitHub only.
88

9-
### CUDA 11.6
9+
### CUDA 11.8
1010
* Added new folder structure for samples
1111
* Added support of Visual Studio 2022 to all samples supported on [Windows](#windows-1).
1212
* All CUDA samples are now only available on [GitHub](https://github.com/nvidia/cuda-samples). They are no longer available via CUDA toolkit.
@@ -17,7 +17,7 @@ This section describes the release notes for the CUDA Samples on GitHub only.
1717

1818
### Prerequisites
1919

20-
Download and install the [CUDA Toolkit 11.6](https://developer.nvidia.com/cuda-downloads) for your corresponding platform.
20+
Download and install the [CUDA Toolkit 11.8](https://developer.nvidia.com/cuda-downloads) for your corresponding platform.
2121
For system requirements and installation instructions of cuda toolkit, please refer to the [Linux Installation Guide](http://docs.nvidia.com/cuda/cuda-installation-guide-linux/), and the [Windows Installation Guide](http://docs.nvidia.com/cuda/cuda-installation-guide-microsoft-windows/index.html).
2222

2323
### Getting the CUDA Samples
@@ -263,4 +263,4 @@ Answers to frequently asked questions about CUDA can be found at http://develope
263263
264264
## Attributions
265265
266-
* Teapot image is obtained from [Wikimedia](https://en.wikipedia.org/wiki/File:Original_Utah_Teapot.jpg) and is licensed under the Creative Commons [Attribution-Share Alike 2.0](https://creativecommons.org/licenses/by-sa/2.0/deed.en) Generic license. The image is modified for samples use cases.
266+
* Teapot image is obtained from [Wikimedia](https://en.wikipedia.org/wiki/File:Original_Utah_Teapot.jpg) and is licensed under the Creative Commons [Attribution-Share Alike 2.0](https://creativecommons.org/licenses/by-sa/2.0/deed.en) Generic license. The image is modified for samples use cases.

Samples/0_Introduction/UnifiedMemoryStreams/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,9 +318,9 @@ endif
318318

319319
# Gencode arguments
320320
ifeq ($(TARGET_ARCH),$(filter $(TARGET_ARCH),armv7l aarch64 sbsa))
321-
SMS ?= 53 61 70 72 75 80 86 87
321+
SMS ?= 53 61 70 72 75 80 86 87 90
322322
else
323-
SMS ?= 35 37 50 52 60 61 70 75 80 86
323+
SMS ?= 35 37 50 52 60 61 70 75 80 86 90
324324
endif
325325

326326
ifeq ($(SMS),)

Samples/0_Introduction/UnifiedMemoryStreams/NsightEclipse.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
<toolkit>cudaStreamDestroy</toolkit>
77
<toolkit>cudaFree</toolkit>
88
<toolkit>cudaMallocManaged</toolkit>
9-
<toolkit>cudaStreamCreate</toolkit>
10-
<toolkit>cudaDeviceSynchronize</toolkit>
119
<toolkit>cudaStreamAttachMemAsync</toolkit>
1210
<toolkit>cudaSetDevice</toolkit>
11+
<toolkit>cudaDeviceSynchronize</toolkit>
1312
<toolkit>cudaStreamSynchronize</toolkit>
13+
<toolkit>cudaStreamCreate</toolkit>
1414
<toolkit>cudaGetDeviceProperties</toolkit>
1515
</cuda_api_list>
1616
<description><![CDATA[This sample demonstrates the use of OpenMP and streams with Unified Memory on a single GPU.]]></description>
@@ -70,6 +70,7 @@
7070
<sm-arch>sm80</sm-arch>
7171
<sm-arch>sm86</sm-arch>
7272
<sm-arch>sm87</sm-arch>
73+
<sm-arch>sm90</sm-arch>
7374
<supported_envs>
7475
<env>
7576
<arch>x86_64</arch>

Samples/0_Introduction/UnifiedMemoryStreams/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ CUDA Systems Integration, OpenMP, CUBLAS, Multithreading, Unified Memory, CUDA S
1010

1111
## Supported SM Architectures
1212

13-
[SM 3.5 ](https://developer.nvidia.com/cuda-gpus) [SM 3.7 ](https://developer.nvidia.com/cuda-gpus) [SM 5.0 ](https://developer.nvidia.com/cuda-gpus) [SM 5.2 ](https://developer.nvidia.com/cuda-gpus) [SM 5.3 ](https://developer.nvidia.com/cuda-gpus) [SM 6.0 ](https://developer.nvidia.com/cuda-gpus) [SM 6.1 ](https://developer.nvidia.com/cuda-gpus) [SM 7.0 ](https://developer.nvidia.com/cuda-gpus) [SM 7.2 ](https://developer.nvidia.com/cuda-gpus) [SM 7.5 ](https://developer.nvidia.com/cuda-gpus) [SM 8.0 ](https://developer.nvidia.com/cuda-gpus) [SM 8.6 ](https://developer.nvidia.com/cuda-gpus) [SM 8.7 ](https://developer.nvidia.com/cuda-gpus)
13+
[SM 3.5 ](https://developer.nvidia.com/cuda-gpus) [SM 3.7 ](https://developer.nvidia.com/cuda-gpus) [SM 5.0 ](https://developer.nvidia.com/cuda-gpus) [SM 5.2 ](https://developer.nvidia.com/cuda-gpus) [SM 5.3 ](https://developer.nvidia.com/cuda-gpus) [SM 6.0 ](https://developer.nvidia.com/cuda-gpus) [SM 6.1 ](https://developer.nvidia.com/cuda-gpus) [SM 7.0 ](https://developer.nvidia.com/cuda-gpus) [SM 7.2 ](https://developer.nvidia.com/cuda-gpus) [SM 7.5 ](https://developer.nvidia.com/cuda-gpus) [SM 8.0 ](https://developer.nvidia.com/cuda-gpus) [SM 8.6 ](https://developer.nvidia.com/cuda-gpus) [SM 8.7 ](https://developer.nvidia.com/cuda-gpus) [SM 9.0 ](https://developer.nvidia.com/cuda-gpus)
1414

1515
## Supported OSes
1616

@@ -23,14 +23,14 @@ x86_64, ppc64le, armv7l
2323
## CUDA APIs involved
2424

2525
### [CUDA Runtime API](http://docs.nvidia.com/cuda/cuda-runtime-api/index.html)
26-
cudaStreamDestroy, cudaFree, cudaMallocManaged, cudaStreamCreate, cudaDeviceSynchronize, cudaStreamAttachMemAsync, cudaSetDevice, cudaStreamSynchronize, cudaGetDeviceProperties
26+
cudaStreamDestroy, cudaFree, cudaMallocManaged, cudaStreamAttachMemAsync, cudaSetDevice, cudaDeviceSynchronize, cudaStreamSynchronize, cudaStreamCreate, cudaGetDeviceProperties
2727

2828
## Dependencies needed to build/run
2929
[OpenMP](../../../README.md#openmp), [UVM](../../../README.md#uvm), [CUBLAS](../../../README.md#cublas)
3030

3131
## Prerequisites
3232

33-
Download and install the [CUDA Toolkit 11.6](https://developer.nvidia.com/cuda-downloads) for your corresponding platform.
33+
Download and install the [CUDA Toolkit 11.8](https://developer.nvidia.com/cuda-downloads) for your corresponding platform.
3434
Make sure the dependencies mentioned in [Dependencies]() section above are installed.
3535

3636
## Build and Run

Samples/0_Introduction/UnifiedMemoryStreams/UnifiedMemoryStreams_vs2017.vcxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
</PropertyGroup>
3939
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
4040
<ImportGroup Label="ExtensionSettings">
41-
<Import Project="$(CUDAPropsPath)\CUDA 11.6.props" />
41+
<Import Project="$(CUDAPropsPath)\CUDA 11.8.props" />
4242
</ImportGroup>
4343
<ImportGroup Label="PropertySheets">
4444
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" />
@@ -67,7 +67,7 @@
6767
<OutputFile>$(OutDir)/UnifiedMemoryStreams.exe</OutputFile>
6868
</Link>
6969
<CudaCompile>
70-
<CodeGeneration>compute_35,sm_35;compute_37,sm_37;compute_50,sm_50;compute_52,sm_52;compute_60,sm_60;compute_61,sm_61;compute_70,sm_70;compute_75,sm_75;compute_80,sm_80;compute_86,sm_86;</CodeGeneration>
70+
<CodeGeneration>compute_35,sm_35;compute_37,sm_37;compute_50,sm_50;compute_52,sm_52;compute_60,sm_60;compute_61,sm_61;compute_70,sm_70;compute_75,sm_75;compute_80,sm_80;compute_86,sm_86;compute_90,sm_90;</CodeGeneration>
7171
<AdditionalOptions>-Xcompiler "/wd 4819" --threads 0 </AdditionalOptions>
7272
<Include>./;../../../Common</Include>
7373
<Defines>WIN32</Defines>
@@ -108,6 +108,6 @@
108108
</ItemGroup>
109109
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
110110
<ImportGroup Label="ExtensionTargets">
111-
<Import Project="$(CUDAPropsPath)\CUDA 11.6.targets" />
111+
<Import Project="$(CUDAPropsPath)\CUDA 11.8.targets" />
112112
</ImportGroup>
113113
</Project>

Samples/0_Introduction/UnifiedMemoryStreams/UnifiedMemoryStreams_vs2019.vcxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
</PropertyGroup>
3535
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
3636
<ImportGroup Label="ExtensionSettings">
37-
<Import Project="$(CUDAPropsPath)\CUDA 11.6.props" />
37+
<Import Project="$(CUDAPropsPath)\CUDA 11.8.props" />
3838
</ImportGroup>
3939
<ImportGroup Label="PropertySheets">
4040
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" />
@@ -63,7 +63,7 @@
6363
<OutputFile>$(OutDir)/UnifiedMemoryStreams.exe</OutputFile>
6464
</Link>
6565
<CudaCompile>
66-
<CodeGeneration>compute_35,sm_35;compute_37,sm_37;compute_50,sm_50;compute_52,sm_52;compute_60,sm_60;compute_61,sm_61;compute_70,sm_70;compute_75,sm_75;compute_80,sm_80;compute_86,sm_86;</CodeGeneration>
66+
<CodeGeneration>compute_35,sm_35;compute_37,sm_37;compute_50,sm_50;compute_52,sm_52;compute_60,sm_60;compute_61,sm_61;compute_70,sm_70;compute_75,sm_75;compute_80,sm_80;compute_86,sm_86;compute_90,sm_90;</CodeGeneration>
6767
<AdditionalOptions>-Xcompiler "/wd 4819" --threads 0 </AdditionalOptions>
6868
<Include>./;../../../Common</Include>
6969
<Defines>WIN32</Defines>
@@ -104,6 +104,6 @@
104104
</ItemGroup>
105105
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
106106
<ImportGroup Label="ExtensionTargets">
107-
<Import Project="$(CUDAPropsPath)\CUDA 11.6.targets" />
107+
<Import Project="$(CUDAPropsPath)\CUDA 11.8.targets" />
108108
</ImportGroup>
109109
</Project>

Samples/0_Introduction/UnifiedMemoryStreams/UnifiedMemoryStreams_vs2022.vcxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
</PropertyGroup>
3535
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
3636
<ImportGroup Label="ExtensionSettings">
37-
<Import Project="$(CUDAPropsPath)\CUDA 11.6.props" />
37+
<Import Project="$(CUDAPropsPath)\CUDA 11.8.props" />
3838
</ImportGroup>
3939
<ImportGroup Label="PropertySheets">
4040
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" />
@@ -63,7 +63,7 @@
6363
<OutputFile>$(OutDir)/UnifiedMemoryStreams.exe</OutputFile>
6464
</Link>
6565
<CudaCompile>
66-
<CodeGeneration>compute_35,sm_35;compute_37,sm_37;compute_50,sm_50;compute_52,sm_52;compute_60,sm_60;compute_61,sm_61;compute_70,sm_70;compute_75,sm_75;compute_80,sm_80;compute_86,sm_86;</CodeGeneration>
66+
<CodeGeneration>compute_35,sm_35;compute_37,sm_37;compute_50,sm_50;compute_52,sm_52;compute_60,sm_60;compute_61,sm_61;compute_70,sm_70;compute_75,sm_75;compute_80,sm_80;compute_86,sm_86;compute_90,sm_90;</CodeGeneration>
6767
<AdditionalOptions>-Xcompiler "/wd 4819" --threads 0 </AdditionalOptions>
6868
<Include>./;../../../Common</Include>
6969
<Defines>WIN32</Defines>
@@ -104,6 +104,6 @@
104104
</ItemGroup>
105105
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
106106
<ImportGroup Label="ExtensionTargets">
107-
<Import Project="$(CUDAPropsPath)\CUDA 11.6.targets" />
107+
<Import Project="$(CUDAPropsPath)\CUDA 11.8.targets" />
108108
</ImportGroup>
109109
</Project>

Samples/0_Introduction/asyncAPI/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,9 +279,9 @@ LIBRARIES :=
279279

280280
# Gencode arguments
281281
ifeq ($(TARGET_ARCH),$(filter $(TARGET_ARCH),armv7l aarch64 sbsa))
282-
SMS ?= 53 61 70 72 75 80 86 87
282+
SMS ?= 53 61 70 72 75 80 86 87 90
283283
else
284-
SMS ?= 35 37 50 52 60 61 70 75 80 86
284+
SMS ?= 35 37 50 52 60 61 70 75 80 86 90
285285
endif
286286

287287
ifeq ($(SMS),)

Samples/0_Introduction/asyncAPI/NsightEclipse.xml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,21 @@
33
<entry>
44
<name>asyncAPI</name>
55
<cuda_api_list>
6-
<toolkit>cudaMemset</toolkit>
6+
<toolkit>cudaProfilerStop</toolkit>
7+
<toolkit>cudaMalloc</toolkit>
8+
<toolkit>cudaMemcpyAsync</toolkit>
79
<toolkit>cudaFree</toolkit>
8-
<toolkit>cudaEventRecord</toolkit>
910
<toolkit>cudaMallocHost</toolkit>
1011
<toolkit>cudaProfilerStart</toolkit>
11-
<toolkit>cudaEventCreate</toolkit>
12-
<toolkit>cudaEventElapsedTime</toolkit>
1312
<toolkit>cudaDeviceSynchronize</toolkit>
13+
<toolkit>cudaEventRecord</toolkit>
1414
<toolkit>cudaFreeHost</toolkit>
15-
<toolkit>cudaMalloc</toolkit>
16-
<toolkit>cudaEventQuery</toolkit>
17-
<toolkit>cudaProfilerStop</toolkit>
15+
<toolkit>cudaMemset</toolkit>
1816
<toolkit>cudaEventDestroy</toolkit>
19-
<toolkit>cudaMemcpyAsync</toolkit>
17+
<toolkit>cudaEventQuery</toolkit>
18+
<toolkit>cudaEventElapsedTime</toolkit>
2019
<toolkit>cudaGetDeviceProperties</toolkit>
20+
<toolkit>cudaEventCreate</toolkit>
2121
</cuda_api_list>
2222
<description><![CDATA[This sample illustrates the usage of CUDA events for both GPU timing and overlapping CPU and GPU execution. Events are inserted into a stream of CUDA calls. Since CUDA stream calls are asynchronous, the CPU can perform computations while GPU is executing (including DMA memcopies between the host and device). CPU can query CUDA events to determine whether GPU has completed tasks.]]></description>
2323
<devicecompilation>whole</devicecompilation>
@@ -59,6 +59,7 @@
5959
<sm-arch>sm80</sm-arch>
6060
<sm-arch>sm86</sm-arch>
6161
<sm-arch>sm87</sm-arch>
62+
<sm-arch>sm90</sm-arch>
6263
<supported_envs>
6364
<env>
6465
<arch>x86_64</arch>

Samples/0_Introduction/asyncAPI/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Asynchronous Data Transfers, CUDA Streams and Events
1010

1111
## Supported SM Architectures
1212

13-
[SM 3.5 ](https://developer.nvidia.com/cuda-gpus) [SM 3.7 ](https://developer.nvidia.com/cuda-gpus) [SM 5.0 ](https://developer.nvidia.com/cuda-gpus) [SM 5.2 ](https://developer.nvidia.com/cuda-gpus) [SM 5.3 ](https://developer.nvidia.com/cuda-gpus) [SM 6.0 ](https://developer.nvidia.com/cuda-gpus) [SM 6.1 ](https://developer.nvidia.com/cuda-gpus) [SM 7.0 ](https://developer.nvidia.com/cuda-gpus) [SM 7.2 ](https://developer.nvidia.com/cuda-gpus) [SM 7.5 ](https://developer.nvidia.com/cuda-gpus) [SM 8.0 ](https://developer.nvidia.com/cuda-gpus) [SM 8.6 ](https://developer.nvidia.com/cuda-gpus) [SM 8.7 ](https://developer.nvidia.com/cuda-gpus)
13+
[SM 3.5 ](https://developer.nvidia.com/cuda-gpus) [SM 3.7 ](https://developer.nvidia.com/cuda-gpus) [SM 5.0 ](https://developer.nvidia.com/cuda-gpus) [SM 5.2 ](https://developer.nvidia.com/cuda-gpus) [SM 5.3 ](https://developer.nvidia.com/cuda-gpus) [SM 6.0 ](https://developer.nvidia.com/cuda-gpus) [SM 6.1 ](https://developer.nvidia.com/cuda-gpus) [SM 7.0 ](https://developer.nvidia.com/cuda-gpus) [SM 7.2 ](https://developer.nvidia.com/cuda-gpus) [SM 7.5 ](https://developer.nvidia.com/cuda-gpus) [SM 8.0 ](https://developer.nvidia.com/cuda-gpus) [SM 8.6 ](https://developer.nvidia.com/cuda-gpus) [SM 8.7 ](https://developer.nvidia.com/cuda-gpus) [SM 9.0 ](https://developer.nvidia.com/cuda-gpus)
1414

1515
## Supported OSes
1616

@@ -23,11 +23,11 @@ x86_64, ppc64le, armv7l
2323
## CUDA APIs involved
2424

2525
### [CUDA Runtime API](http://docs.nvidia.com/cuda/cuda-runtime-api/index.html)
26-
cudaMemset, cudaFree, cudaEventRecord, cudaMallocHost, cudaProfilerStart, cudaEventCreate, cudaEventElapsedTime, cudaDeviceSynchronize, cudaFreeHost, cudaMalloc, cudaEventQuery, cudaProfilerStop, cudaEventDestroy, cudaMemcpyAsync, cudaGetDeviceProperties
26+
cudaProfilerStop, cudaMalloc, cudaMemcpyAsync, cudaFree, cudaMallocHost, cudaProfilerStart, cudaDeviceSynchronize, cudaEventRecord, cudaFreeHost, cudaMemset, cudaEventDestroy, cudaEventQuery, cudaEventElapsedTime, cudaGetDeviceProperties, cudaEventCreate
2727

2828
## Prerequisites
2929

30-
Download and install the [CUDA Toolkit 11.6](https://developer.nvidia.com/cuda-downloads) for your corresponding platform.
30+
Download and install the [CUDA Toolkit 11.8](https://developer.nvidia.com/cuda-downloads) for your corresponding platform.
3131

3232
## Build and Run
3333

Samples/0_Introduction/asyncAPI/asyncAPI_vs2017.vcxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
</PropertyGroup>
3939
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
4040
<ImportGroup Label="ExtensionSettings">
41-
<Import Project="$(CUDAPropsPath)\CUDA 11.6.props" />
41+
<Import Project="$(CUDAPropsPath)\CUDA 11.8.props" />
4242
</ImportGroup>
4343
<ImportGroup Label="PropertySheets">
4444
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" />
@@ -67,7 +67,7 @@
6767
<OutputFile>$(OutDir)/asyncAPI.exe</OutputFile>
6868
</Link>
6969
<CudaCompile>
70-
<CodeGeneration>compute_35,sm_35;compute_37,sm_37;compute_50,sm_50;compute_52,sm_52;compute_60,sm_60;compute_61,sm_61;compute_70,sm_70;compute_75,sm_75;compute_80,sm_80;compute_86,sm_86;</CodeGeneration>
70+
<CodeGeneration>compute_35,sm_35;compute_37,sm_37;compute_50,sm_50;compute_52,sm_52;compute_60,sm_60;compute_61,sm_61;compute_70,sm_70;compute_75,sm_75;compute_80,sm_80;compute_86,sm_86;compute_90,sm_90;</CodeGeneration>
7171
<AdditionalOptions>-Xcompiler "/wd 4819" --threads 0 </AdditionalOptions>
7272
<Include>./;../../../Common</Include>
7373
<Defines>WIN32</Defines>
@@ -107,6 +107,6 @@
107107
</ItemGroup>
108108
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
109109
<ImportGroup Label="ExtensionTargets">
110-
<Import Project="$(CUDAPropsPath)\CUDA 11.6.targets" />
110+
<Import Project="$(CUDAPropsPath)\CUDA 11.8.targets" />
111111
</ImportGroup>
112112
</Project>

Samples/0_Introduction/asyncAPI/asyncAPI_vs2019.vcxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
</PropertyGroup>
3535
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
3636
<ImportGroup Label="ExtensionSettings">
37-
<Import Project="$(CUDAPropsPath)\CUDA 11.6.props" />
37+
<Import Project="$(CUDAPropsPath)\CUDA 11.8.props" />
3838
</ImportGroup>
3939
<ImportGroup Label="PropertySheets">
4040
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" />
@@ -63,7 +63,7 @@
6363
<OutputFile>$(OutDir)/asyncAPI.exe</OutputFile>
6464
</Link>
6565
<CudaCompile>
66-
<CodeGeneration>compute_35,sm_35;compute_37,sm_37;compute_50,sm_50;compute_52,sm_52;compute_60,sm_60;compute_61,sm_61;compute_70,sm_70;compute_75,sm_75;compute_80,sm_80;compute_86,sm_86;</CodeGeneration>
66+
<CodeGeneration>compute_35,sm_35;compute_37,sm_37;compute_50,sm_50;compute_52,sm_52;compute_60,sm_60;compute_61,sm_61;compute_70,sm_70;compute_75,sm_75;compute_80,sm_80;compute_86,sm_86;compute_90,sm_90;</CodeGeneration>
6767
<AdditionalOptions>-Xcompiler "/wd 4819" --threads 0 </AdditionalOptions>
6868
<Include>./;../../../Common</Include>
6969
<Defines>WIN32</Defines>
@@ -103,6 +103,6 @@
103103
</ItemGroup>
104104
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
105105
<ImportGroup Label="ExtensionTargets">
106-
<Import Project="$(CUDAPropsPath)\CUDA 11.6.targets" />
106+
<Import Project="$(CUDAPropsPath)\CUDA 11.8.targets" />
107107
</ImportGroup>
108108
</Project>

0 commit comments

Comments
 (0)