mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-31 03:20:47 +08:00
Group gen specific small cpp files together part 1
Change-Id: I554caee03f0abcb069fe38c6092c33b5f9eb04f9
This commit is contained in:
committed by
sys_ocldev
parent
5a9c9c2691
commit
604b04b5cd
@@ -69,7 +69,7 @@ macro(macro_for_each_platform)
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
foreach(PLATFORM_FILE "hw_info_${PLATFORM_IT_LOWER}.cpp")
|
||||
foreach(PLATFORM_FILE "hw_info_${PLATFORM_IT_LOWER}.inl")
|
||||
list(APPEND RUNTIME_SRCS_${GEN_TYPE}_CPP_BASE ${GENX_PREFIX}/${PLATFORM_FILE})
|
||||
endforeach()
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "hw_cmds.h"
|
||||
#ifdef SUPPORT_BDW
|
||||
#include "hw_info_bdw.inl"
|
||||
#endif
|
||||
|
||||
namespace OCLRT {
|
||||
const char *GfxFamilyMapper<IGFX_GEN8_CORE>::name = "Gen8";
|
||||
|
||||
@@ -20,7 +20,21 @@
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "hw_cmds.h"
|
||||
#ifdef SUPPORT_BXT
|
||||
#include "hw_info_bxt.inl"
|
||||
#endif
|
||||
#ifdef SUPPORT_CFL
|
||||
#include "hw_info_cfl.inl"
|
||||
#endif
|
||||
#ifdef SUPPORT_GLK
|
||||
#include "hw_info_glk.inl"
|
||||
#endif
|
||||
#ifdef SUPPORT_KBL
|
||||
#include "hw_info_kbl.inl"
|
||||
#endif
|
||||
#ifdef SUPPORT_SKL
|
||||
#include "hw_info_skl.inl"
|
||||
#endif
|
||||
|
||||
namespace OCLRT {
|
||||
const char *GfxFamilyMapper<IGFX_GEN9_CORE>::name = "Gen9";
|
||||
|
||||
Reference in New Issue
Block a user