mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
Change-Id: I67a6919bbbff1d30c7d6cdb257b41c87bad51e7f Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
25 lines
555 B
C++
25 lines
555 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) {
|
|
return aub_stream::EngineType::ENGINE_BCS;
|
|
}
|
|
} // namespace EngineHelpers
|
|
} // namespace NEO
|