SWDEV-249499 - Add message to Guarantee assert code in hip runtime.

Change-Id: I1850463675bbc3e6ff5e3cef8211b1fd40e55f96


[ROCm/hip commit: 9c75797d9f]
This commit is contained in:
kjayapra-amd committed 2020-08-24 17:35:39 -04:00
1 والد 4fcbffd307
کامیت 16b52c4a62
3 files changed
+25 -20

No files matched your search

@@ -127,7 +127,7 @@ extern "C" void __hipRegisterFunction(
hipError_t hip_error = hipSuccess;
for (size_t dev_idx = 0; dev_idx < g_devices.size(); ++dev_idx) {
hip_error = PlatformState::instance().getStatFunc(&hfunc, hostFunction, dev_idx);
guarantee(hip_error == hipSuccess);
guarantee((hip_error == hipSuccess) && "Cannot Retrieve Static function");
}
}
}