The function can return NULL if it fails to create the backend, so check for NULL before using it. Change-Id: I4d6501bffd6dd0fc0d0f2224720f7d6dca1646f3 Signed-off-by: Kent Russell <kent.russell@amd.com> [ROCm/ROCR-Runtime commit: 545467be04]
545467be04