SWDEV-374400, SWDEV-374404 - Change error message in hipFuncGetAttribute(s) to match nvidia.

Change-Id: I95b69a49ced24115f0aebc288ea067a49b770aca


[ROCm/clr commit: 97c5f772c6]
Cette révision appartient à :
Ioannis Assiouras a révisé 2022-12-20 12:49:17 -05:00
1 Parent 23b51242fd
révision c4d2a2c557
2 fichiers modifiés
+5 -2

Aucun fichier ne correspond à votre recherche

+1 -1
Voir le fichier
@@ -114,7 +114,7 @@ hipError_t hipModuleGetGlobal(hipDeviceptr_t* dptr, size_t* bytes, hipModule_t h
hipError_t hipFuncGetAttribute(int* value, hipFunction_attribute attrib, hipFunction_t hfunc) {
HIP_INIT_API(hipFuncGetAttribute, value, attrib, hfunc);
if ((value == nullptr) || (hfunc == nullptr)) {
if ((value == nullptr)) {
HIP_RETURN(hipErrorInvalidValue);
}