New
CUDA Samples v13.0
CUDA 13.0
- Updated the samples using the cudaDeviceProp fields which are deprecated and removed in CUDA 13.0, replacing the fields with the equivalents in "cudaDeviceGetAttribute":
- Deprecated "cudaDeviceProp" fields
int clockRate; // - Replaced with "cudaDevAttrClockRate"int deviceOverlap; // - Replaced with "cudaDevAttrGpuOverlap */int kernelExecTimeoutEnabled; // - Replaced with "cudaDevAttrKernelExecTimeoutint computeMode; // - Replaced with "cudaDevAttrComputeMode" */int memoryClockRate; // - Replaced with "cudaDevAttrMemoryClockRate"int cooperativeMultiDeviceLaunch; // - Deprecated, cudaLaunchCooperativeKernelMultiDevice is deprecated. 0_IntroductionUnifiedMemoryStreamssimpleHyperQsimpleIPCsimpleMultiCopysystemWideAtomics
1_UtilitiedeviceQuery
2_Concepts_and_TechniquesstreamOrderedAllocationIPC
4_CUDA_LibrariessimpleCUBLASXT
5_Domain_SpecificsimpleVulkanvulkanImageCUDA
- Deprecated "cudaDeviceProp" fields
- Updated the samples using the CUDA driver API "cuCtxCreate" with adding the parameter "CUctxCreateParams" as "cuCtxCreate" is updated to "cuCtxCreate_v4" by default in CUDA 13.0:
Commonnvrtc_helper.h
0_IntroductionUnifiedMemoryStreamsmatrixMulDrvsimpleTextureDrvvectorAddDrvvectorAddMMAP
2_Concepts_and_TechniquesEGLStream_CUDA_CrossGPUEGLStream_CUDA_InteropthreadMigration
3_CUDA_FeaturesgraphMemoryFootprintmemMapIPCDrv
4_CUDA_LibrariesjitLto
7_libNVVMcuda-c-linkingdevice-side-launchsimpleuvmlite
8_Platform_Specific/TegraEGLSync_CUDAEvent_Interop
- Updated the sample using CUDA API "cudaGraphAddNode"/"cudaStreamGetCaptureInfo" with adding "cudaGraphEdgeData" pointer parameter as they are updated to "cudaGraphAddNode_v2"/"cudaStreamGetCaptureInfo_v3" by default in CUDA 13.0:
3_CUDA_FeaturesgraphConditionalNodes
- Updated the samples using CUDA API "cudaMemAdvise"/"cudaMemPrefetchAsync" with changing the parameter "int device" to "cudaMemLocation location" as they are updated to "cudaMemAdvise_v2"/"cudaMemPrefetchAsyn_v2" by default in CUDA 13.0.
4_CUDA_LibrariesconjugateGradientMultiDeviceCG
6_PerformanceUnifiedMemoryPerf
- Replaced "thrust::identity()" with "cuda::std::identity()" as it is deprecated in CUDA 13.0.
2_Concepts_and_TechniquessegmentationTreeThrust
- Updated the the headers file and samples for CUFFT error codes update.
- Deprecated CUFFT errors:
CUFFT_INCOMPLETE_PARAMETER_LISTCUFFT_PARSE_ERRORCUFFT_LICENSE_ERROR
- New added CUFFT errors:
CUFFT_MISSING_DEPENDENCYCUFFT_NVRTC_FAILURECUFFT_NVJITLINK_FAILURECUFFT_NVSHMEM_FAILURE
- Header files and samples that are related with this change:
Common/helper_cuda.h4_CUDA_LibrariessimpleCUFFTsimpleCUFFT_2d_MGPUsimpleCUFFT_MGPUsimpleCUFFT_callback
- Deprecated CUFFT errors:
- Updated toolchain for cross-compilation for Tegra QNX platforms.