SWDEV-306939 - Fix vdi errors/warnings by CppCheck

Change-Id: I56d910f8363787f1050d5d7e8064ed553c5827fd


[ROCm/clr commit: e20dd61932]
Este cometimento está contido em:
Satyanvesh Dittakavi cometeu 2022-01-12 00:22:16 -05:00
1 ascendente 0f38461bb6
cometimento 85c2cac111
45 ficheiros modificados
+113 -160

Não existem ficheiros que correspondam à sua pesquisa

+2 -2
Ver ficheiro
@@ -101,10 +101,10 @@ bool Program::defineGlobalVar(const char* name, void* dptr) {
return false;
}
hsa_status_t status = HSA_STATUS_SUCCESS;
hsa_agent_t hsa_device = rocDevice().getBackendDevice();
status = hsa_executable_agent_global_variable_define(hsaExecutable_, hsa_device, name, dptr);
hsa_status_t status = hsa_executable_agent_global_variable_define(hsaExecutable_,
hsa_device, name, dptr);
if (status != HSA_STATUS_SUCCESS) {
buildLog_ += "Error: Could not define global variable : ";
buildLog_ += hsa_strerror(status);