ebfd8e1b23
Instead of using assert to abort the application, the fix will
return the error code if the input parameters is incorrect.
Change-Id: I00861ddf1198386fb322ea06232a7178fb5ef4bd
[ROCm/amdsmi commit: 8d347bb6c4]