3bdcaa1deb
Replace assert with error handling code.
Change-Id: I6500ae4d38a8caea87828aa7d76373d20c8354c7
[ROCm/rocm_smi_lib commit: 0522439ac2]