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