Store bcsEngine in an std::vector in OpenCL CommandQUeue

Related-To: NEO-6057
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
This commit is contained in:
Maciej Dziuban
2021-09-24 16:32:20 +00:00
committed by Compute-Runtime-Automation
parent eccebfb49d
commit c910a58aa0
14 changed files with 111 additions and 62 deletions

View File

@@ -51,6 +51,7 @@ bool isBcs(aub_stream::EngineType engineType);
aub_stream::EngineType getBcsEngineType(const HardwareInfo &hwInfo, const DeviceBitfield &deviceBitfield, SelectorCopyEngine &selectorCopyEngine, bool internalUsage);
void releaseBcsEngineType(aub_stream::EngineType engineType, SelectorCopyEngine &selectorCopyEngine);
aub_stream::EngineType remapEngineTypeToHwSpecific(aub_stream::EngineType inputType, const HardwareInfo &hwInfo);
uint32_t getBcsIndex(aub_stream::EngineType engineType);
std::string engineTypeToString(aub_stream::EngineType engineType);
std::string engineTypeToStringAdditional(aub_stream::EngineType engineType);

View File

@@ -27,5 +27,9 @@ aub_stream::EngineType remapEngineTypeToHwSpecific(aub_stream::EngineType inputT
return inputType;
}
uint32_t getBcsIndex(aub_stream::EngineType engineType) {
return 0;
}
} // namespace EngineHelpers
} // namespace NEO

View File

@@ -12,7 +12,8 @@
namespace NEO {
using BcsInfoMask = std::bitset<1>;
constexpr inline size_t bcsInfoMaskSize = 1u;
using BcsInfoMask = std::bitset<bcsInfoMaskSize>;
struct FeatureTable : FeatureTableBase {
BcsInfoMask ftrBcsInfo = 0;