SWDEV-290298 - add a flag to indicate the primary context active status

Change-Id: Ia31790706d3f855bc1eedf5ef874e471
Этот коммит содержится в:
haoyuan2 authored and Maneesh Gupta committed 2021-12-09 23:28:54 -05:00
1 родитель aedbad0109
Коммит 439af94dd9
3 files changed
+14 -1

No files matched your search

+2 -1
Просмотреть файл
@@ -39,7 +39,8 @@ HostQueue::HostQueue(Context& context, Device& device, cl_command_queue_properti
priority, cuMask),
lastEnqueueCommand_(nullptr),
head_(nullptr),
tail_(nullptr) {
tail_(nullptr),
isActive_(false) {
if (AMD_DIRECT_DISPATCH) {
// Initialize the queue
thread_.Init(this);