Fix some cppcheck style issues.

[ROCm/hip commit: 9bba97fdcc]
This commit is contained in:
Ben Sander
2017-11-21 16:44:28 -06:00
parent 419a80db24
commit 905389741c
4 changed files with 24 additions and 21 deletions
+2
View File
@@ -779,6 +779,8 @@ hipError_t ihipDevice_t::initProperties(hipDeviceProp_t* prop)
// Get agent name
err = hsa_agent_get_info(_hsaAgent, (hsa_agent_info_t)HSA_AMD_AGENT_INFO_PRODUCT_NAME, &(prop->name));
DeviceErrorCheck(err);
char archName[256];
err = hsa_agent_get_info(_hsaAgent, HSA_AGENT_INFO_NAME, &archName);