Remove cutnpaste check on uninitialized hsa status

Change-Id: Icc0256b9b1bd01d45cca4feb1106cfe7427bcd15


[ROCm/hip commit: 5551b6c2f6]
This commit is contained in:
Ben Sander
2016-08-28 16:35:27 -05:00
parent 627a6d2f8f
commit 0b733e05eb
-4
View File
@@ -188,10 +188,6 @@ hipError_t ihipModuleGetFunction(hipFunction_t *func, hipModule_t hmod, const ch
hsa_agent_t gpuAgent = (hsa_agent_t)currentDevice->_hsaAgent;
hsa_status_t status;
if(status != HSA_STATUS_SUCCESS){
return hipErrorNotInitialized;
}
status = hsa_executable_load_code_object(hmod->executable, gpuAgent, hmod->object, NULL);
if(status != HSA_STATUS_SUCCESS){
return hipErrorNotInitialized;