mirror of
				https://github.com/NVIDIA/cuda-samples.git
				synced 2025-11-04 07:27:49 +08:00 
			
		
		
		
	Bug 5280038: Update cuda-c-linking as per CUDA 13.0 API change
This commit is contained in:
		
							parent
							
								
									c6208f5897
								
							
						
					
					
						commit
						ebc1078379
					
				@ -43,9 +43,12 @@
 | 
			
		||||
    * `4_CUDA_Libraries`
 | 
			
		||||
        * `jitLto`
 | 
			
		||||
    * `7_libNVVM`
 | 
			
		||||
        * `cuda-c-linking`
 | 
			
		||||
        * `device-side-launch`
 | 
			
		||||
        * `simple`
 | 
			
		||||
        * `uvmlite`
 | 
			
		||||
    * `8_Platform_Specific/Tegra`
 | 
			
		||||
        * `EGLSync_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_Features`
 | 
			
		||||
        * `graphConditionalNodes`
 | 
			
		||||
 | 
			
		||||
@ -248,7 +248,8 @@ int main(int argc, char **argv)
 | 
			
		||||
 | 
			
		||||
    // Create the CUDA context.
 | 
			
		||||
    CUcontext context;
 | 
			
		||||
    checkCudaErrors(cuCtxCreate(&context, 0, device));
 | 
			
		||||
 | 
			
		||||
    checkCudaErrors(cuCtxCreate(&context, NULL, 0, device));
 | 
			
		||||
 | 
			
		||||
    // Create a JIT linker and generate the result CUBIN.
 | 
			
		||||
    CUlinkState  linker;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user