Add PrintOsContextInitializations debug flag

Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
This commit is contained in:
Maciej Dziuban
2021-05-17 15:22:49 +00:00
committed by Compute-Runtime-Automation
parent fa944d296c
commit 4ffe456d85
10 changed files with 140 additions and 17 deletions

View File

@@ -0,0 +1,29 @@
/*
* Copyright (C) 2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/helpers/engine_node_helper.h"
namespace NEO {
namespace EngineHelpers {
bool isCcs(aub_stream::EngineType engineType) {
return engineType == aub_stream::ENGINE_CCS;
}
bool isBcs(aub_stream::EngineType engineType) {
return engineType == aub_stream::ENGINE_BCS;
}
aub_stream::EngineType getBcsEngineType(const HardwareInfo &hwInfo, std::atomic<uint32_t> &selectorCopyEngine) {
return aub_stream::EngineType::ENGINE_BCS;
}
std::string engineTypeToStringAdditional(aub_stream::EngineType engineType) {
return "Unknown";
}
} // namespace EngineHelpers
} // namespace NEO