Files
compute-runtime/shared/source/helpers/hw_mapper.h
Chodor, Jaroslaw 46c60290b9 refactor: introducing igfxfmid_wrapper
Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
2025-05-30 19:26:04 +02:00

28 lines
575 B
C++

/*
* Copyright (C) 2023-2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "neo_igfxfmid.h"
namespace NEO {
template <PRODUCT_FAMILY product>
struct HwMapper {};
// Utility conversion
template <PRODUCT_FAMILY productFamily>
struct ToGfxCoreFamily {
static constexpr GFXCORE_FAMILY gfxCoreFamily =
static_cast<GFXCORE_FAMILY>(NEO::HwMapper<productFamily>::gfxFamily);
static constexpr GFXCORE_FAMILY get() { return gfxCoreFamily; }
};
template <GFXCORE_FAMILY gfxFamily>
struct GfxFamilyMapper {};
} // namespace NEO