intercepting queue delete fixed without the callback registered
Change-Id: If278c3fbd0feb91937981aee95039a243efaa130
Tento commit je obsažen v:
@@ -110,7 +110,7 @@ class InterceptQueue {
|
||||
|
||||
static hsa_status_t QueueDestroy(hsa_queue_t* queue) {
|
||||
std::lock_guard<mutex_t> lck(mutex_);
|
||||
hsa_status_t status = HSA_STATUS_ERROR;
|
||||
hsa_status_t status = HSA_STATUS_SUCCESS;
|
||||
|
||||
if (destroy_callback_ != NULL) {
|
||||
status = destroy_callback_(queue, callback_data_);
|
||||
|
||||
Odkázat v novém úkolu
Zablokovat Uživatele