[llvm] [Offload] Allow setting null arguments in olLaunchKernel (PR #141958)
Ross Brunton via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 2 07:56:30 PDT 2025
================
@@ -1260,9 +1261,11 @@ struct AMDGPUStreamTy {
// Consume stream slot and compute dependencies.
auto [Curr, InputSignal] = consume(OutputSignal);
- // Setup the post action to release the kernel args buffer.
- if (auto Err = Slots[Curr].schedReleaseBuffer(KernelArgs, MemoryManager))
- return Err;
+ // Setup the post action to release the kernel args buffer, if it exists
+ if (KernelArgs) {
----------------
RossBrunton wrote:
Just removed all the AMD-specific fixes and rebased on main and yep, looks like it's passing now.
https://github.com/llvm/llvm-project/pull/141958
More information about the llvm-commits
mailing list