Files
compute-runtime/shared/source/helpers/engine_node_helper.cpp
Kamil Kopryk 71468dd11d Add selector for copy engines
Change-Id: I28b11aead8e554b7299ff7f504751847068a2edf
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-4320
2020-02-25 14:10:25 +01:00

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