mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 07:00:17 +08:00
Update aubstream interface: use product family from aubstream
don't build aub tests when aubstream is not available use only mock aub manager in ULTs Related-To: NEO-4446 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
4995bddb89
commit
0b3582a93b
@@ -5,9 +5,17 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "product_family.h"
|
||||
|
||||
namespace NEO {
|
||||
template <>
|
||||
AOT::PRODUCT_CONFIG HwInfoConfigHw<gfxProduct>::getProductConfigFromHwInfo(const HardwareInfo &hwInfo) const {
|
||||
return AOT::APL;
|
||||
}
|
||||
|
||||
template <>
|
||||
std::optional<aub_stream::ProductFamily> HwInfoConfigHw<gfxProduct>::getAubStreamProductFamily() const {
|
||||
return aub_stream::ProductFamily::Bxt;
|
||||
};
|
||||
|
||||
} // namespace NEO
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#include "shared/source/gen9/cfl/device_ids_configs_cfl.h"
|
||||
|
||||
#include "platforms.h"
|
||||
#include "product_family.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
@@ -28,4 +29,10 @@ AOT::PRODUCT_CONFIG HwInfoConfigHw<gfxProduct>::getProductConfigFromHwInfo(const
|
||||
}
|
||||
return AOT::UNKNOWN_ISA;
|
||||
}
|
||||
} // namespace NEO
|
||||
|
||||
template <>
|
||||
std::optional<aub_stream::ProductFamily> HwInfoConfigHw<gfxProduct>::getAubStreamProductFamily() const {
|
||||
return aub_stream::ProductFamily::Cfl;
|
||||
};
|
||||
|
||||
} // namespace NEO
|
||||
|
||||
@@ -5,9 +5,17 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "product_family.h"
|
||||
|
||||
namespace NEO {
|
||||
template <>
|
||||
AOT::PRODUCT_CONFIG HwInfoConfigHw<gfxProduct>::getProductConfigFromHwInfo(const HardwareInfo &hwInfo) const {
|
||||
return AOT::GLK;
|
||||
}
|
||||
|
||||
template <>
|
||||
std::optional<aub_stream::ProductFamily> HwInfoConfigHw<gfxProduct>::getAubStreamProductFamily() const {
|
||||
return aub_stream::ProductFamily::Glk;
|
||||
};
|
||||
|
||||
} // namespace NEO
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#include "shared/source/gen9/kbl/device_ids_configs_kbl.h"
|
||||
|
||||
#include "platforms.h"
|
||||
#include "product_family.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
@@ -25,4 +26,10 @@ AOT::PRODUCT_CONFIG HwInfoConfigHw<gfxProduct>::getProductConfigFromHwInfo(const
|
||||
}
|
||||
return AOT::UNKNOWN_ISA;
|
||||
}
|
||||
} // namespace NEO
|
||||
|
||||
template <>
|
||||
std::optional<aub_stream::ProductFamily> HwInfoConfigHw<gfxProduct>::getAubStreamProductFamily() const {
|
||||
return aub_stream::ProductFamily::Kbl;
|
||||
};
|
||||
|
||||
} // namespace NEO
|
||||
|
||||
@@ -5,9 +5,17 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "product_family.h"
|
||||
|
||||
namespace NEO {
|
||||
template <>
|
||||
AOT::PRODUCT_CONFIG HwInfoConfigHw<gfxProduct>::getProductConfigFromHwInfo(const HardwareInfo &hwInfo) const {
|
||||
return AOT::SKL;
|
||||
}
|
||||
|
||||
template <>
|
||||
std::optional<aub_stream::ProductFamily> HwInfoConfigHw<gfxProduct>::getAubStreamProductFamily() const {
|
||||
return aub_stream::ProductFamily::Skl;
|
||||
};
|
||||
|
||||
} // namespace NEO
|
||||
|
||||
Reference in New Issue
Block a user