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

Change-Id: Id13d132923fcef697b689e75b6aa04060923a2ad


[ROCm/clr commit: 981ef060fb]
This commit is contained in:
haoyuan2 authored and Maneesh Gupta committed 2021-12-09 23:32:16 -05:00
1 bovenliggende f00e0a2df4
commit 9735c1b617
3 files changed
+29 -3

No files matched your search

@@ -107,6 +107,7 @@ bool Stream::Create() {
streamSet.insert(this);
queue_ = queue;
queue->vdev()->profilerAttach(isProfilerAttached);
device_->SaveQueue(queue);
} else if (queue != nullptr) {
queue->release();
}