From c549aa71c3cd4a237abd55102df0cbe5564cf29a Mon Sep 17 00:00:00 2001 From: Sean Keely Date: Thu, 15 Jul 2021 14:47:07 -0500 Subject: [PATCH] Add missing HSA_STATUS_ERROR_INVALID_MEMORY_POOL string. HSA_STATUS_ERROR_INVALID_MEMORY_POOL was missing from hsa_status_string. Change-Id: I9a9121d54a61f966d87081a55638397473bddbe4 [ROCm/ROCR-Runtime commit: 62b7c0ed3bc82fd201928ce87020ed435ce4cc0d] --- projects/rocr-runtime/runtime/hsa-runtime/core/runtime/hsa.cpp | 3 +++ 1 file changed, 3 insertions(+) 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 cc2c8f7841..95ccaa5aeb 100644 --- a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/hsa.cpp +++ b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/hsa.cpp @@ -2762,6 +2762,9 @@ hsa_status_t hsa_status_string( *status_string = "HSA_STATUS_ERROR_MEMORY_FAULT: Agent attempted to access an inaccessible address."; break; + case HSA_STATUS_ERROR_INVALID_MEMORY_POOL: + *status_string = "HSA_STATUS_ERROR_INVALID_MEMORY_POOL: The memory pool is invalid."; + break; case HSA_STATUS_CU_MASK_REDUCED: *status_string = "HSA_STATUS_CU_MASK_REDUCED: The CU mask was successfully set but the mask attempted to "