SWDEV-240806 - Fix compilation warning

Change-Id: I1b540059b1e386bc7b6f4493226c45199542bfc3


[ROCm/clr commit: d2f202b116]
This commit is contained in:
anusha GodavarthySurya
2021-10-19 07:54:50 -07:00
committed by Anusha Godavarthy Surya
parent f8863a0a1d
commit 5e8ecdf9f9
+4 -1
View File
@@ -2405,7 +2405,10 @@ hipError_t ihipMemset3D(hipPitchedPtr pitchedDevPtr, int value, hipExtent extent
}
amd::HostQueue* queue = hip::getQueue(stream);
std::vector<amd::Command*> commands;
ihipMemset3DCommand(commands, pitchedDevPtr, value, extent, queue);
status = ihipMemset3DCommand(commands, pitchedDevPtr, value, extent, queue);
if (status != hipSuccess) {
return status;
}
for (auto& command : commands) {
command->enqueue();
if (!isAsync) {