replacing throw with abort in Context destructor
Esse commit está contido em:
1 pai
5524c7b7ba
commit
5d0a73af17
1 file changed
+1
-1
@@ -94,7 +94,7 @@ class Profile {
|
||||
if (profile_.parameters) free(const_cast<parameter_t*>(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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Bloquear um usuário