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(
368
368
try {
369
369
// Set node param structure with the kernel related data
370
370
auto &ArgIndices = hKernel->getArgIndices ();
371
- CUDA_KERNEL_NODE_PARAMS NodeParams;
371
+ CUDA_KERNEL_NODE_PARAMS NodeParams = {} ;
372
372
NodeParams.func = CuFunc;
373
373
NodeParams.gridDimX = BlocksPerGrid[0 ];
374
374
NodeParams.gridDimY = BlocksPerGrid[1 ];
@@ -378,8 +378,6 @@ UR_APIEXPORT ur_result_t UR_APICALL urCommandBufferAppendKernelLaunchExp(
378
378
NodeParams.blockDimZ = ThreadsPerBlock[2 ];
379
379
NodeParams.sharedMemBytes = LocalSize;
380
380
NodeParams.kernelParams = const_cast <void **>(ArgIndices.data ());
381
- NodeParams.kern = nullptr ;
382
- NodeParams.extra = nullptr ;
383
381
384
382
// Create and add an new kernel node to the Cuda graph
385
383
UR_CHECK_ERROR (cuGraphAddKernelNode (&GraphNode, hCommandBuffer->CudaGraph ,
You can’t perform that action at this time.
0 commit comments