mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 12:23:05 +08:00
refactor: remove platform type string
this property is no longer needed as we compile kernels per product family Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
d80c1c004c
commit
4647180c76
@@ -54,16 +54,15 @@ bool validateTargetDevice(const TargetDevice &targetDevice, Elf::ELF_IDENTIFIER_
|
||||
if (targetDevice.aotConfig.value != productConfig) {
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
if (gfxCore != IGFX_UNKNOWN_CORE) {
|
||||
if (targetDevice.coreFamily != gfxCore) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (gfxCore != IGFX_UNKNOWN_CORE) {
|
||||
if (targetDevice.coreFamily != gfxCore) {
|
||||
return false;
|
||||
}
|
||||
if (productFamily != IGFX_UNKNOWN) {
|
||||
if (false == haveSameCore(targetDevice.productFamily, productFamily)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (productFamily != IGFX_UNKNOWN) {
|
||||
if (targetDevice.productFamily != productFamily) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (targetMetadata.validateRevisionId) {
|
||||
|
||||
Reference in New Issue
Block a user