From aad36aa178bbb77ce37bd752935f3412a4b1d329 Mon Sep 17 00:00:00 2001 From: Divye Gala Date: Tue, 31 Mar 2026 20:13:28 +0000 Subject: [PATCH] null the config --- cpp/src/detail/jit_lto/AlgorithmLauncher.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cpp/src/detail/jit_lto/AlgorithmLauncher.cpp b/cpp/src/detail/jit_lto/AlgorithmLauncher.cpp index 55273979ad..ed1853db93 100644 --- a/cpp/src/detail/jit_lto/AlgorithmLauncher.cpp +++ b/cpp/src/detail/jit_lto/AlgorithmLauncher.cpp @@ -37,12 +37,13 @@ AlgorithmLauncher& AlgorithmLauncher::operator=(AlgorithmLauncher&& other) noexc void AlgorithmLauncher::call( cudaStream_t stream, dim3 grid, dim3 block, std::size_t shared_mem, void** kernel_args) { - cudaLaunchConfig_t config; + cudaLaunchConfig_t config{}; config.gridDim = grid; config.blockDim = block; config.stream = stream; config.dynamicSmemBytes = shared_mem; config.numAttrs = 0; + config.attrs = NULL; RAFT_CUDA_TRY(cudaLaunchKernelExC(&config, kernel, kernel_args)); }