Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GPU] update onednn with the latest rls-v3.8-pc #29256

Closed

Conversation

sungeunk
Copy link
Contributor

@sungeunk sungeunk commented Mar 4, 2025

No description provided.

@sungeunk sungeunk added the category: GPU OpenVINO GPU plugin label Mar 4, 2025
@sungeunk sungeunk requested review from a team as code owners March 4, 2025 00:58
@github-actions github-actions bot added the category: build OpenVINO cmake script / infra label Mar 4, 2025
@sungeunk sungeunk force-pushed the update_onednn_25ww10_rls3.8pc branch from 70fa7cf to d999379 Compare March 5, 2025 01:04
@sungeunk sungeunk changed the title [GPU] onednn: commit 45f672ac7f origin/rls-v3.8-pc [GPU] update onednn with the latest rls-v3.8-pc Mar 7, 2025
@sungeunk sungeunk force-pushed the update_onednn_25ww10_rls3.8pc branch from dd00f0d to bb90467 Compare March 7, 2025 02:01
add_library(onednn_gpu_tgt INTERFACE)
set_target_properties(onednn_gpu_tgt PROPERTIES
INTERFACE_LINK_LIBRARIES $<BUILD_INTERFACE:${ONEDNN_GPU_LIB_PATH}>
INTERFACE_INCLUDE_DIRECTORIES "$<BUILD_INTERFACE:${LIB_INCLUDE_DIRS}>"
INTERFACE_SYSTEM_INCLUDE_DIRECTORIES "${LIB_INCLUDE_DIRS}"
INTERFACE_COMPILE_DEFINITIONS "${LIB_DEFINITIONS}"
)
INTERNAL_INCLUDE_DIRECTORIES "${LIB_INTERNAL_INCLUDE_DIRS}"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like custom properties must also be prefixed with INTERFACE_ to avoid error for rhel

@sungeunk sungeunk force-pushed the update_onednn_25ww10_rls3.8pc branch from d84db9c to 9181a91 Compare March 7, 2025 08:33
@@ -56,7 +56,8 @@ if(OV_COMPILER_IS_INTEL_LLVM)
endif()

if(ENABLE_ONEDNN_FOR_GPU)
ov_target_link_libraries_as_system(${TARGET_NAME} PUBLIC onednn_gpu_tgt)
ov_target_link_libraries_as_system(${TARGET_NAME} PRIVATE onednn_gpu_tgt)
target_include_directories(${TARGET_NAME} SYSTEM PRIVATE $<TARGET_PROPERTY:onednn_gpu_tgt,INTERFACE_INTERNAL_INCLUDE_DIRECTORIES>)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change puts headers from onednn/third_party in front of all other headers. Why is this necessary?

@sungeunk sungeunk closed this Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: build OpenVINO cmake script / infra category: GPU OpenVINO GPU plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants