SWDEV-249499 - Add message to Guarantee assert code in hip runtime.
Change-Id: I1850463675bbc3e6ff5e3cef8211b1fd40e55f96
[ROCm/hip commit: 9c75797d9f]
Tá an tiomantas seo le fáil i:
1 tuismitheoir
4fcbffd307
tiomantas
16b52c4a62
3 comhad athraithe
+25
-20
Níor tháinig aon chomhaid le do chuardach
@@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir