Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions offload/plugins-nextgen/amdgpu/src/rtl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5539,12 +5539,10 @@ struct AMDGPUDeviceTy : public GenericDeviceTy, AMDGenericDeviceTy {
uint32_t NumBlocks[3] = {1u, 1u, 1u};

// Launch kernel with 256 threads and 1 block
if (auto Err = DMInitKernel.launchImpl(*this, NumThreads, NumBlocks, 0,
KernelArgs, LaunchParams, AsyncInfo))
return Err;
auto Err = DMInitKernel.launchImpl(*this, NumThreads, NumBlocks, 0,
KernelArgs, LaunchParams, AsyncInfo);

// Wait for completion
Error Err = Plugin::success();
AsyncInfo.finalize(Err);

// Mark as successfully initialized
Expand Down
Loading