SWDEV-306939 - Fix vdi errors/warnings by CppCheck

Change-Id: I56d910f8363787f1050d5d7e8064ed553c5827fd


[ROCm/clr commit: e20dd61932]
Cette révision appartient à :
Satyanvesh Dittakavi a révisé 2022-01-12 00:22:16 -05:00
1 Parent 0f38461bb6
révision 85c2cac111
45 fichiers modifiés
+113 -160

Aucun fichier ne correspond à votre recherche

+2 -2
Voir le fichier
@@ -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);