mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2025-08-23 23:40:31 +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`
|
* `4_CUDA_Libraries`
|
||||||
* `jitLto`
|
* `jitLto`
|
||||||
* `7_libNVVM`
|
* `7_libNVVM`
|
||||||
|
* `cuda-c-linking`
|
||||||
* `device-side-launch`
|
* `device-side-launch`
|
||||||
* `simple`
|
* `simple`
|
||||||
* `uvmlite`
|
* `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:
|
* 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`
|
* `3_CUDA_Features`
|
||||||
* `graphConditionalNodes`
|
* `graphConditionalNodes`
|
||||||
|
@ -248,7 +248,8 @@ int main(int argc, char **argv)
|
|||||||
|
|
||||||
// Create the CUDA context.
|
// Create the CUDA context.
|
||||||
CUcontext context;
|
CUcontext context;
|
||||||
checkCudaErrors(cuCtxCreate(&context, 0, device));
|
|
||||||
|
checkCudaErrors(cuCtxCreate(&context, NULL, 0, device));
|
||||||
|
|
||||||
// Create a JIT linker and generate the result CUBIN.
|
// Create a JIT linker and generate the result CUBIN.
|
||||||
CUlinkState linker;
|
CUlinkState linker;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user