diff --git a/src/plugins/intel_gpu/CMakeLists.txt b/src/plugins/intel_gpu/CMakeLists.txt index 6f08d25cad088c..427a3c1742f114 100644 --- a/src/plugins/intel_gpu/CMakeLists.txt +++ b/src/plugins/intel_gpu/CMakeLists.txt @@ -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) @@ -70,7 +69,6 @@ target_compile_options(${TARGET_NAME} PRIVATE $<$:$,/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/) diff --git a/src/plugins/intel_gpu/src/graph/impls/sycl/fully_connected_sycl.cpp b/src/plugins/intel_gpu/src/graph/impls/sycl/fully_connected_sycl.cpp index 7341bacc5219a5..ffc02d3ff8e1f6 100644 --- a/src/plugins/intel_gpu/src/graph/impls/sycl/fully_connected_sycl.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/sycl/fully_connected_sycl.cpp @@ -286,7 +286,7 @@ struct fully_connected_sycl : typed_primitive_sycl_impl { 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); } } diff --git a/src/plugins/intel_gpu/tests/CMakeLists.txt b/src/plugins/intel_gpu/tests/CMakeLists.txt index 95a75c3f0acc68..a388e2686ae72f 100644 --- a/src/plugins/intel_gpu/tests/CMakeLists.txt +++ b/src/plugins/intel_gpu/tests/CMakeLists.txt @@ -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) diff --git a/src/plugins/intel_gpu/tests/unit/CMakeLists.txt b/src/plugins/intel_gpu/tests/unit/CMakeLists.txt index 8bff8f56c50156..2c7a4b12735cc0 100644 --- a/src/plugins/intel_gpu/tests/unit/CMakeLists.txt +++ b/src/plugins/intel_gpu/tests/unit/CMakeLists.txt @@ -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