File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed
Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ set(RUNTIME_SRCS_GENX_H_BASE
2020set (CORE_SRCS_GENX_H_BASE
2121 hw_cmds.h
2222 hw_info.h
23+ hw_cmds_base.h
2324)
2425
2526set (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 ()
You can’t perform that action at this time.
0 commit comments