-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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] POC for sycl ref FC compressed kernel #23534
[GPU] POC for sycl ref FC compressed kernel #23534
Conversation
…#24274) ### Details: - Should help with conan-io/conan-center-index#23754 - Taken from #23534
### Details: - Initial version of Intel compiler support - Only Linux is covered - Current PR is a prerequisite for #23534
src/plugins/intel_gpu/CMakeLists.txt
Outdated
@@ -61,6 +65,7 @@ target_compile_options(${TARGET_NAME} PRIVATE | |||
$<$<CONFIG:Release>:$<IF:$<CXX_COMPILER_ID:MSVC>,/Os,-Os>>) | |||
|
|||
target_link_libraries(${TARGET_NAME} PRIVATE openvino_intel_gpu_graph openvino::pugixml) | |||
target_link_options(${TARGET_NAME} PUBLIC -static-intel) |
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.
can be removed, because it's handled in common cmake code
src/plugins/intel_gpu/CMakeLists.txt
Outdated
@@ -44,6 +47,7 @@ include(thirdparty/cmake/rapidjson.cmake) | |||
if(CMAKE_COMPILER_IS_GNUCXX) | |||
ov_add_compiler_flags(-Werror) | |||
endif() | |||
ov_add_compiler_flags(-Rno-debug-disables-optimization) |
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.
is it required? looks like it works without this flag
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.
It's not. IIRC, I added it to avoid huge amount of warnings in debug build
@@ -64,6 +68,6 @@ ov_install_static_lib(${TARGET_NAME} ${OV_CPACK_COMP_CORE}) | |||
if(ENABLE_SSE42) | |||
ov_sse42_optimization_flags(sse4_2_flags) | |||
set_source_files_properties(impls/cpu/detection_output.cpp PROPERTIES | |||
COMPILE_FLAGS "${sse4_2_flags}" | |||
COMPILE_FLAGS "${sse4_2_flags} -xSSE4.1" |
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.
handled by ov_sse42_optimization_flags
, which learned Intel LLVM as well
@@ -3,5 +3,6 @@ | |||
# | |||
|
|||
add_subdirectory(common) | |||
add_subdirectory(unit) | |||
# Unit tests doesn't link for some reason with icpx |
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.
Please, perform the following steps to compile unit tests:
- Merge with latest master
- Add the following cmake lines to unit tests cmake:
if(OV_COMPILER_IS_INTEL_LLVM)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fuse-ld=lld")
string(REPLACE "-pie" "" CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE}")
endif()
…openvinotoolkit#24274) ### Details: - Should help with conan-io/conan-center-index#23754 - Taken from openvinotoolkit#23534
### Details: - Initial version of Intel compiler support - Only Linux is covered - Current PR is a prerequisite for openvinotoolkit#23534
9ed4ec4
to
2d6df67
Compare
This PR will be closed in a week because of 2 weeks of no activity. |
This PR was closed because it has been stalled for 2 week with no activity. |
Details:
Tickets: