@@ -288,14 +288,14 @@ DeviceContext::getKernelHandle(ol_program_handle_t ProgramHandle,
288288void DeviceContext::launchKernelImpl (
289289 ol_symbol_handle_t KernelHandle, uint32_t NumGroups, uint32_t GroupSize,
290290 const void *KernelArgs, std::size_t KernelArgsSize) const noexcept {
291- ol_kernel_launch_size_args_t LaunchArgs ;
292- LaunchArgs .Dimensions = 1 ;
293- LaunchArgs .NumGroups = {NumGroups, 1 , 1 };
294- LaunchArgs .GroupSize = {GroupSize, 1 , 1 };
295- LaunchArgs .DynSharedMemory = 0 ;
291+ ol_kernel_launch_size_args_t LaunchSizeArgs ;
292+ LaunchSizeArgs .Dimensions = 1 ;
293+ LaunchSizeArgs .NumGroups = {NumGroups, 1 , 1 };
294+ LaunchSizeArgs .GroupSize = {GroupSize, 1 , 1 };
295+ LaunchSizeArgs .DynSharedMemory = 0 ;
296296
297297 OL_CHECK (olLaunchKernel (nullptr , DeviceHandle, KernelHandle, KernelArgs,
298- KernelArgsSize, &LaunchArgs, nullptr ));
298+ KernelArgsSize, &LaunchSizeArgs ));
299299}
300300
301301[[nodiscard]] llvm::StringRef DeviceContext::getName () const noexcept {
0 commit comments