mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 23:56:39 +08:00
Refactor: Dont include os_agnostic_hw_info_config_* files in namespace NEO
use namespace NEO explicitly in these files Related-To: NEO-4446 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
7c050291bf
commit
610480b5aa
@@ -21,15 +21,20 @@
|
||||
|
||||
#include "platforms.h"
|
||||
|
||||
namespace NEO {
|
||||
constexpr static auto gfxProduct = IGFX_XE_HP_SDV;
|
||||
|
||||
namespace NEO {
|
||||
const std::map<std::string, std::pair<uint32_t, uint32_t>> guidUuidOffsetMap = {
|
||||
// add new values for guid in the form of {"guid", {offset, size}} for each platform
|
||||
{"0xfdc76195", {64u, 8u}}};
|
||||
|
||||
#include "shared/source/os_interface/linux/hw_info_config_uuid_xehp_and_later.inl"
|
||||
} // namespace NEO
|
||||
|
||||
#include "shared/source/xe_hp_core/os_agnostic_hw_info_config_xe_hp_core.inl"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
template <>
|
||||
int HwInfoConfigHw<gfxProduct>::configureHardwareCustom(HardwareInfo *hwInfo, OSInterface *osIface) const {
|
||||
if (allowCompression(*hwInfo)) {
|
||||
|
||||
@@ -5,8 +5,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
using namespace NEO;
|
||||
|
||||
namespace NEO {
|
||||
template <>
|
||||
uint32_t HwInfoConfigHw<gfxProduct>::getHwRevIdFromStepping(uint32_t stepping, const HardwareInfo &hwInfo) const {
|
||||
switch (stepping) {
|
||||
@@ -139,3 +138,4 @@ template <>
|
||||
bool HwInfoConfigHw<gfxProduct>::isImplicitScalingSupported(const HardwareInfo &hwInfo) const {
|
||||
return true;
|
||||
}
|
||||
} // namespace NEO
|
||||
|
||||
@@ -15,11 +15,11 @@
|
||||
|
||||
#include "platforms.h"
|
||||
|
||||
namespace NEO {
|
||||
constexpr static auto gfxProduct = IGFX_XE_HP_SDV;
|
||||
|
||||
#include "shared/source/xe_hp_core/os_agnostic_hw_info_config_xe_hp_core.inl"
|
||||
|
||||
namespace NEO {
|
||||
template <>
|
||||
int HwInfoConfigHw<gfxProduct>::configureHardwareCustom(HardwareInfo *hwInfo, OSInterface *osIface) const {
|
||||
if (allowCompression(*hwInfo)) {
|
||||
|
||||
Reference in New Issue
Block a user