Enable blitterOperationsSupported on DG1

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2021-10-27 20:22:31 +00:00
committed by Compute-Runtime-Automation
parent 947297d4e1
commit 3a2b018eb6
20 changed files with 81 additions and 14 deletions

View File

@@ -9,6 +9,7 @@
#include "shared/source/device/device.h"
#include "shared/source/helpers/hw_helper.h"
#include "shared/source/os_interface/hw_info_config.h"
#include "shared/test/common/helpers/default_hw_info.h"
#include "test.h"
@@ -25,6 +26,16 @@ bool TestChecks::supportsBlitter(const HardwareInfo *pHardwareInfo) {
return false;
}
bool TestChecks::fullySupportsBlitter(const HardwareInfo *pHardwareInfo) {
auto engines = HwHelper::get(::renderCoreFamily).getGpgpuEngineInstances(*pHardwareInfo);
for (const auto &engine : engines) {
if (engine.first == aub_stream::EngineType::ENGINE_BCS) {
return HwInfoConfig::get(pHardwareInfo->platform.eProductFamily)->isBlitterFullySupported(*pHardwareInfo);
}
}
return false;
}
bool TestChecks::supportsImages(const HardwareInfo &hardwareInfo) {
return hardwareInfo.capabilityTable.supportsImages;
}