intercepting queue delete fixed without the callback registered
Change-Id: If278c3fbd0feb91937981aee95039a243efaa130
Ta zmiana jest zawarta w:
%! (template.HTML=
Evgeny)złożyło 2018-12-20 09:41:36 -06:00
1 rodzic
ea0a1110dc
złożenie
d08e240928
Plik 1 zmieniony
+1
-1
@@ -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_);
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika