Bug 5280038: Update cuda-c-linking as per CUDA 13.0 API change

This commit is contained in:
shawnz
2025-05-14 15:54:41 +08:00
parent c6208f5897
commit ebc1078379
2 changed files with 5 additions and 1 deletions

View File

@@ -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;