2019-10-14 19:33:18 +08:00
|
|
|
/*
|
2020-01-13 20:15:03 +08:00
|
|
|
* Copyright (C) 2019-2020 Intel Corporation
|
2019-10-14 19:33:18 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2020-02-24 05:44:01 +08:00
|
|
|
#include "shared/source/helpers/engine_node_helper.h"
|
2019-10-14 19:33:18 +08:00
|
|
|
|
|
|
|
namespace NEO {
|
2020-01-13 20:15:03 +08:00
|
|
|
namespace EngineHelpers {
|
2019-10-14 19:33:18 +08:00
|
|
|
bool isCcs(aub_stream::EngineType engineType) {
|
|
|
|
return engineType == aub_stream::ENGINE_CCS;
|
|
|
|
}
|
|
|
|
|
2019-11-26 01:37:19 +08:00
|
|
|
bool isBcs(aub_stream::EngineType engineType) {
|
|
|
|
return engineType == aub_stream::ENGINE_BCS;
|
|
|
|
}
|
2020-01-17 00:52:17 +08:00
|
|
|
|
2020-02-25 01:25:42 +08:00
|
|
|
aub_stream::EngineType getBcsEngineType(const HardwareInfo &hwInfo, std::atomic<uint32_t> &selectorCopyEngine) {
|
2020-01-17 00:52:17 +08:00
|
|
|
return aub_stream::EngineType::ENGINE_BCS;
|
|
|
|
}
|
2020-01-13 20:15:03 +08:00
|
|
|
} // namespace EngineHelpers
|
2019-10-14 19:33:18 +08:00
|
|
|
} // namespace NEO
|