* Added missing NULL checks and corrected API return values as per validation * Added missing NULL checks [ROCm/hip commit: d57946275b]
d57946275b