mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
fix: Avoiding races when modifying queue and Tag data
Related-To: NEO-8196 Signed-off-by: Andrzej Koska <andrzej.koska@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
7e7eea9995
commit
c4a24d8f31
@@ -15,6 +15,7 @@ template <typename TagType>
|
||||
TagAllocator<TagType>::TagAllocator(const RootDeviceIndicesContainer &rootDeviceIndices, MemoryManager *memMngr, size_t tagCount, size_t tagAlignment,
|
||||
size_t tagSize, bool doNotReleaseNodes, DeviceBitfield deviceBitfield)
|
||||
: TagAllocatorBase(rootDeviceIndices, memMngr, tagCount, tagAlignment, tagSize, doNotReleaseNodes, deviceBitfield) {
|
||||
std::unique_lock<std::mutex> lock(allocatorMutex);
|
||||
|
||||
populateFreeTags();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user