2019-10-14 13:33:18 +02:00
|
|
|
/*
|
2020-01-13 13:15:03 +01:00
|
|
|
* Copyright (C) 2019-2020 Intel Corporation
|
2019-10-14 13:33:18 +02:00
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "engine_node.h"
|
|
|
|
|
|
2020-02-24 18:25:42 +01:00
|
|
|
#include <atomic>
|
|
|
|
|
|
2019-10-14 13:33:18 +02:00
|
|
|
namespace NEO {
|
2020-01-16 17:52:17 +01:00
|
|
|
struct HardwareInfo;
|
|
|
|
|
|
2020-01-13 13:15:03 +01:00
|
|
|
namespace EngineHelpers {
|
2019-10-14 13:33:18 +02:00
|
|
|
bool isCcs(aub_stream::EngineType engineType);
|
2019-11-25 18:37:19 +01:00
|
|
|
bool isBcs(aub_stream::EngineType engineType);
|
2020-02-24 18:25:42 +01:00
|
|
|
aub_stream::EngineType getBcsEngineType(const HardwareInfo &hwInfo, std::atomic<uint32_t> &selectorCopyEngine);
|
2020-01-13 13:15:03 +01:00
|
|
|
}; // namespace EngineHelpers
|
2019-10-14 13:33:18 +02:00
|
|
|
} // namespace NEO
|