SWDEV-240806 - Fix compilation warning

Change-Id: I1b540059b1e386bc7b6f4493226c45199542bfc3


[ROCm/clr commit: d2f202b116]
Cette révision appartient à :
anusha GodavarthySurya
2021-10-19 07:54:50 -07:00
révisé par Anusha Godavarthy Surya
Parent f8863a0a1d
révision 5e8ecdf9f9
+4 -1
Voir le fichier
@@ -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) {