-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[GPU] update onednn with the latest rls-v3.8-pc #29256
Conversation
70fa7cf
to
d999379
Compare
dd00f0d
to
bb90467
Compare
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}" |
There was a problem hiding this comment.
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
d84db9c
to
9181a91
Compare
@@ -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>) |
There was a problem hiding this comment.
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?
No description provided.