Skip to content

Commit 257275f

Browse files
Add missing gen specific headers to solution
Change-Id: I2d733db057e265efa4493597927d7f9baeb94e2b Signed-off-by: Mateusz Jablonski <[email protected]>
1 parent 6464fda commit 257275f

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

runtime/enable_gens.cmake

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ set(RUNTIME_SRCS_GENX_H_BASE
2020
set(CORE_SRCS_GENX_H_BASE
2121
hw_cmds.h
2222
hw_info.h
23+
hw_cmds_base.h
2324
)
2425

2526
set(RUNTIME_SRCS_GENX_CPP_BASE
@@ -81,18 +82,13 @@ macro(macro_for_each_gen)
8182
endforeach()
8283
foreach(SRC_IT "state_compute_mode_helper_${GEN_TYPE_LOWER}.cpp")
8384
if(EXISTS ${GENX_PREFIX}/${SRC_IT})
84-
list(APPEND RUNTIME_SRCS_${GEN_TYPE}_H_BASE ${GENX_PREFIX}/${SRC_IT})
85+
list(APPEND RUNTIME_SRCS_${GEN_TYPE}_CPP_BASE ${GENX_PREFIX}/${SRC_IT})
8586
endif()
8687
endforeach()
87-
if(EXISTS "${GENERATED_GENX_PREFIX}/hw_cmds_generated_${GEN_TYPE_LOWER}.inl")
88-
list(APPEND RUNTIME_SRCS_${GEN_TYPE}_H_BASE "${GENERATED_GENX_PREFIX}/hw_cmds_generated_${GEN_TYPE_LOWER}.inl")
89-
endif()
90-
if(EXISTS "${GENX_PREFIX}/hw_cmds_base.h")
91-
list(APPEND RUNTIME_SRCS_${GEN_TYPE}_H_BASE "${GENX_PREFIX}/hw_cmds_base.h")
92-
endif()
93-
if(EXISTS "${GENX_PREFIX}/hw_info_${GEN_TYPE_LOWER}.h")
94-
list(APPEND RUNTIME_SRCS_${GEN_TYPE}_H_BASE "${GENX_PREFIX}/hw_info_${GEN_TYPE_LOWER}.h")
95-
endif()
88+
89+
list(APPEND RUNTIME_SRCS_${GEN_TYPE}_H_BASE "${GENERATED_GENX_PREFIX}/hw_cmds_generated_${GEN_TYPE_LOWER}.inl")
90+
list(APPEND RUNTIME_SRCS_${GEN_TYPE}_H_BASE "${CORE_GENX_PREFIX}/hw_info_${GEN_TYPE_LOWER}.h")
91+
9692
if(EXISTS "${GENX_PREFIX}/additional_files_${GEN_TYPE_LOWER}.cmake")
9793
include("${GENX_PREFIX}/additional_files_${GEN_TYPE_LOWER}.cmake")
9894
endif()

0 commit comments

Comments
 (0)