mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 09:58:55 +08:00
Add PrintOsContextInitializations debug flag
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
fa944d296c
commit
4ffe456d85
29
shared/source/helpers/engine_node_helper_extra.cpp
Normal file
29
shared/source/helpers/engine_node_helper_extra.cpp
Normal 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
|
||||
Reference in New Issue
Block a user