mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 17:20:26 +08:00
Enable blitterOperationsSupported on DG1
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
947297d4e1
commit
3a2b018eb6
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user