Files
compute-runtime/core/helpers/engine_node_helper.cpp
Dunajski, Bartosz b982fb058c Obtain BCS engine type through helper method
Change-Id: I8a8bf99f3a73a4293013ab3bc73911e25a12b57e
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2020-01-17 08:22:58 +01:00

25 lines
546 B
C++

/*
* Copyright (C) 2019-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "core/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) {
return aub_stream::EngineType::ENGINE_BCS;
}
} // namespace EngineHelpers
} // namespace NEO