mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00

Change-Id: I28b11aead8e554b7299ff7f504751847068a2edf Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com> Related-To: NEO-4320
25 lines
598 B
C++
25 lines
598 B
C++
/*
|
|
* Copyright (C) 2019-2020 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;
|
|
}
|
|
} // namespace EngineHelpers
|
|
} // namespace NEO
|