From b754622b335584fbb1d578a556e34bfc22183271 Mon Sep 17 00:00:00 2001 From: Sean Keely Date: Mon, 20 May 2019 17:48:47 -0500 Subject: [PATCH] Allow hsa_status_string when HSA is closed. API is a stateless lookup of RO data and needed to interpret hsa_init error codes. Change-Id: If80cba2f697843d08e529da0f790acf3c37127a7 [ROCm/ROCR-Runtime commit: 22de0e7fb9f257010f7be3002523fe6169fc661e] --- projects/rocr-runtime/runtime/hsa-runtime/core/runtime/hsa.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/hsa.cpp b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/hsa.cpp index 0969d27e32..c98b2e5944 100644 --- a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/hsa.cpp +++ b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/hsa.cpp @@ -2573,7 +2573,6 @@ hsa_status_t hsa_executable_iterate_program_symbols( hsa_status_t hsa_status_string( hsa_status_t status, const char **status_string) { - IS_OPEN(); IS_BAD_PTR(status_string); const size_t status_u = static_cast(status); switch (status_u) {