refactor: add before cmake macro for older platforms

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
Zbigniew Zdanowicz
2024-08-09 01:19:34 +00:00
committed by Compute-Runtime-Automation
parent 3e55b41668
commit 0940776a97
5 changed files with 18 additions and 2 deletions

View File

@@ -54,6 +54,12 @@ if(SUPPORT_XE2_AND_LATER)
)
endif()
if(SUPPORT_XE_HPC_AND_BEFORE)
list(APPEND NEO_CORE_COMMAND_CONTAINER
${CMAKE_CURRENT_SOURCE_DIR}/command_encoder_pre_xe2_hpg_core.inl
)
endif()
set_property(GLOBAL PROPERTY NEO_CORE_COMMAND_CONTAINER ${NEO_CORE_COMMAND_CONTAINER})
add_subdirectories()

View File

@@ -10,4 +10,4 @@ template <typename Family>
size_t EncodeDispatchKernel<Family>::getDefaultIOHAlignment() {
return 1;
}
} // namespace NEO
} // namespace NEO

View File

@@ -15,4 +15,4 @@ size_t EncodeDispatchKernel<Family>::getDefaultIOHAlignment() {
return alignment;
}
} // namespace NEO
} // namespace NEO