From 3c98242e0945dbc9ba02fe36084235c1eab244c0 Mon Sep 17 00:00:00 2001 From: Evgeny Date: Thu, 29 Mar 2018 15:28:59 -0500 Subject: [PATCH] replacing throw with abort in Context destructor [ROCm/rocprofiler commit: 5d0a73af1789f788f49836379da1f4b32935742b] --- projects/rocprofiler/src/core/profile.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/rocprofiler/src/core/profile.h b/projects/rocprofiler/src/core/profile.h index e67d8f1e87..298f955d19 100644 --- a/projects/rocprofiler/src/core/profile.h +++ b/projects/rocprofiler/src/core/profile.h @@ -94,7 +94,7 @@ class Profile { if (profile_.parameters) free(const_cast(profile_.parameters)); if (completion_signal_.handle) { hsa_status_t status = hsa_signal_destroy(completion_signal_); - if (status != HSA_STATUS_SUCCESS) EXC_RAISING(status, "signal_destroy " << std::hex << status); + if (status != HSA_STATUS_SUCCESS) EXC_ABORT(status, "signal_destroy " << std::hex << status); } }