File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -368,7 +368,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urCommandBufferAppendKernelLaunchExp(
368368 try {
369369 // Set node param structure with the kernel related data
370370 auto &ArgIndices = hKernel->getArgIndices ();
371- CUDA_KERNEL_NODE_PARAMS NodeParams;
371+ CUDA_KERNEL_NODE_PARAMS NodeParams = {} ;
372372 NodeParams.func = CuFunc;
373373 NodeParams.gridDimX = BlocksPerGrid[0 ];
374374 NodeParams.gridDimY = BlocksPerGrid[1 ];
@@ -378,8 +378,6 @@ UR_APIEXPORT ur_result_t UR_APICALL urCommandBufferAppendKernelLaunchExp(
378378 NodeParams.blockDimZ = ThreadsPerBlock[2 ];
379379 NodeParams.sharedMemBytes = LocalSize;
380380 NodeParams.kernelParams = const_cast <void **>(ArgIndices.data ());
381- NodeParams.kern = nullptr ;
382- NodeParams.extra = nullptr ;
383381
384382 // Create and add an new kernel node to the Cuda graph
385383 UR_CHECK_ERROR (cuGraphAddKernelNode (&GraphNode, hCommandBuffer->CudaGraph ,
You can’t perform that action at this time.
0 commit comments