fix: serialize constructBcsEngine

Related-To: NEO-15630

Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
This commit is contained in:
Maciej Bielski
2025-08-19 14:40:39 +00:00
committed by Compute-Runtime-Automation
parent 617a736630
commit 9c92733829
3 changed files with 39 additions and 30 deletions

View File

@@ -23,6 +23,7 @@
#include "opencl/source/helpers/properties_helper.h"
#include <cstdint>
#include <mutex>
#include <optional>
#include <span>
@@ -497,6 +498,7 @@ class CommandQueue : public BaseObject<_cl_command_queue> {
mutable EngineControl *gpgpuEngine = nullptr;
std::array<EngineControl *, bcsInfoMaskSize> bcsEngines = {};
std::optional<aub_stream::EngineType> bcsQueueEngineType{};
std::mutex bcsInitMutex;
size_t bcsEngineCount = bcsInfoMaskSize;
cl_command_queue_properties commandQueueProperties = 0;