SWDEV-480209 - Make internal callbacks non-blocking

Change-Id: Ic918d08f341abfd9a7c167d09f9c723cdc43157f
Ta zmiana jest zawarta w:
Anusha GodavarthySurya authored and Anusha Godavarthy Surya committed 2025-01-10 02:16:11 -05:00
1 rodzic c9dd95bf6c
złożenie 683a942364
11 plików zmienionych
+38 -34

Żadne pliki nie pasują do Twojego wyszukiwania

+2 -1
Wyświetl plik
@@ -57,8 +57,9 @@ HostQueue::HostQueue(Context& context, Device& device, cl_command_queue_properti
}
bool HostQueue::terminate() {
// incase of force destroy skip checking on the last command
if (AMD_DIRECT_DISPATCH) {
if (vdev() != nullptr) {
if (!forceDestroy_ && vdev() != nullptr) {
// If the queue still has the last command, then wait and release it
// We must be in protected way to get last command when calling
// awaitCompletion() where lastCommand will be released and possibly