Skip to content

Commit

Permalink
review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimir-paramuzov committed Jun 6, 2024
1 parent 1779b0a commit d86713c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/plugins/intel_gpu/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ include(thirdparty/cmake/rapidjson.cmake)
if(CMAKE_COMPILER_IS_GNUCXX)
ov_add_compiler_flags(-Werror)
endif()
ov_add_compiler_flags(-Rno-debug-disables-optimization)

add_subdirectory(src/runtime)
add_subdirectory(src/kernel_selector)
Expand All @@ -70,7 +69,6 @@ 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)

target_include_directories(${TARGET_NAME} PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}/include/)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ struct fully_connected_sycl : typed_primitive_sycl_impl<fully_connected> {

return to_ocl_event(stream, run_fc_int8_woq(sycl_queue, barrier, in, wei, dzp, ds, out, M, N, K, group_size, groups_num, out_shape, dzp_scalar));
} else {
OPENVINO_THROW("No instance for given types found");
OPENVINO_THROW("No instance for given types found: ", in_t, " ", wei_t, " ", out_t, " ", ds_t, " ", dzp_t);
}
}

Expand Down
3 changes: 1 addition & 2 deletions src/plugins/intel_gpu/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
#

add_subdirectory(common)
# Unit tests doesn't link for some reason with icpx
# add_subdirectory(unit)
add_subdirectory(unit)
add_subdirectory(functional)
5 changes: 5 additions & 0 deletions src/plugins/intel_gpu/tests/unit/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
ov_add_compiler_flags(/wd4305)
endif()

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()

set(TARGET_NAME "ov_gpu_unit_tests")

file(GLOB_RECURSE SOURCES_MAIN
Expand Down

0 comments on commit d86713c

Please sign in to comment.