SWDEV-439637 - Updated to compile with clang compiler

Change-Id: Ib0a8e1cc007f083fb1d1f4363cf89ba76ad3c4f2
Cette révision appartient à :
Anusha GodavarthySurya
2024-01-02 14:56:03 +00:00
révisé par Anusha Godavarthy Surya
Parent e37aaeae09
révision a1b2cbe44e
6 fichiers modifiés avec 106 ajouts et 96 suppressions
+1 -1
Voir le fichier
@@ -115,7 +115,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)) {
if (value == nullptr) {
HIP_RETURN(hipErrorInvalidValue);
}