SWDEV-249499 - Add message to Guarantee assert code in hip runtime.
Change-Id: I1850463675bbc3e6ff5e3cef8211b1fd40e55f96
[ROCm/hip commit: 9c75797d9f]
Cette révision appartient à :
1 Parent
4fcbffd307
révision
16b52c4a62
3 fichiers modifiés
+25
-20
Aucun fichier ne correspond à votre recherche
@@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur