mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-18 13:54:58 +08:00
build: add wrapper for gmmlib include
Related-To: NEO-11080 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
bb5bcc9ce0
commit
a0845b707e
@@ -439,7 +439,7 @@ endif()
|
||||
include(cmake${BRANCH_DIR_SUFFIX}/find_igc.cmake)
|
||||
|
||||
# GmmLib detection
|
||||
include(cmake/find_gmmlib.cmake)
|
||||
include(cmake${BRANCH_DIR_SUFFIX}/find_gmmlib.cmake)
|
||||
|
||||
# Metrics detection
|
||||
include(cmake/find_metrics.cmake)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2023 Intel Corporation
|
||||
* Copyright (C) 2018-2025 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -34,7 +34,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
#include "GmmLib.h"
|
||||
#include "neo_gmmlib.h"
|
||||
|
||||
#if __clang__
|
||||
#pragma clang diagnostic pop
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
set(NEO_CORE_GMM_HELPER_IGFXFMID_WRAPPER
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
||||
${CMAKE_CURRENT_SOURCE_DIR}${BRANCH_DIR_SUFFIX}neo_igfxfmid.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}${BRANCH_DIR_SUFFIX}neo_gmmlib.h
|
||||
)
|
||||
|
||||
set_property(GLOBAL APPEND PROPERTY NEO_CORE_GMM_HELPER ${NEO_CORE_GMM_HELPER_IGFXFMID_WRAPPER})
|
||||
|
||||
10
shared/source/gmm_helper/igfxfmid_wrapper/neo_gmmlib.h
Normal file
10
shared/source/gmm_helper/igfxfmid_wrapper/neo_gmmlib.h
Normal file
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
* Copyright (C) 2025 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "GmmLib.h"
|
||||
Reference in New Issue
Block a user