diff --git a/openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp b/openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp index 0b90d250b762b..fabc0f592cb05 100644 --- a/openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp +++ b/openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp @@ -242,9 +242,8 @@ Error GenericKernelTy::launch(GenericDeviceTy &GenericDevice, void **ArgPtrs, llvm::SmallVector Args; llvm::SmallVector Ptrs; - void *KernelArgsPtr = - prepareArgs(GenericDevice, ArgPtrs, ArgOffsets, KernelArgs.NumArgs, Args, - Ptrs, AsyncInfoWrapper); + void *KernelArgsPtr = prepareArgs(GenericDevice, ArgPtrs, ArgOffsets, + KernelArgs.NumArgs, Args, Ptrs); uint32_t NumThreads = getNumThreads(GenericDevice, KernelArgs.ThreadLimit); uint64_t NumBlocks = getNumBlocks(GenericDevice, KernelArgs.NumTeams, @@ -262,8 +261,7 @@ void *GenericKernelTy::prepareArgs(GenericDeviceTy &GenericDevice, void **ArgPtrs, ptrdiff_t *ArgOffsets, int32_t NumArgs, llvm::SmallVectorImpl &Args, - llvm::SmallVectorImpl &Ptrs, - AsyncInfoWrapperTy &AsyncInfoWrapper) const { + llvm::SmallVectorImpl &Ptrs) const { Args.resize(NumArgs); Ptrs.resize(NumArgs); diff --git a/openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.h b/openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.h index 4cc97485054c5..98427c483c864 100644 --- a/openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.h +++ b/openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.h @@ -227,8 +227,7 @@ struct GenericKernelTy { void *prepareArgs(GenericDeviceTy &GenericDevice, void **ArgPtrs, ptrdiff_t *ArgOffsets, int32_t NumArgs, llvm::SmallVectorImpl &Args, - llvm::SmallVectorImpl &Ptrs, - AsyncInfoWrapperTy &AsyncInfoWrapper) const; + llvm::SmallVectorImpl &Ptrs) const; /// Get the default number of threads and blocks for the kernel. virtual uint32_t getDefaultNumThreads(GenericDeviceTy &Device) const = 0;