Bugfix build issue of onednn test (#14998)
* Bugfix build issue of onednn test + Remove invalid referencing if ENABLE_INTEL_CPU is off + Removed unnecessary include Signed-off-by: Min, Byungil <byungil.min@intel.com>
This commit is contained in:
parent
6c8f8df518
commit
c7957d8ca6
@ -5,7 +5,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <oneapi/dnnl/dnnl.hpp>
|
||||
#include <oneapi/dnnl/dnnl_debug.h>
|
||||
|
||||
#include <intel_gpu/runtime/layout.hpp>
|
||||
#include <intel_gpu/runtime/engine.hpp>
|
||||
|
@ -71,10 +71,6 @@ target_include_directories(${TARGET_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
$<TARGET_PROPERTY:openvino_intel_gpu_runtime,INTERFACE_INCLUDE_DIRECTORIES>
|
||||
${CMAKE_HOME_DIRECTORY}/src/core/reference/include/)
|
||||
|
||||
if(ENABLE_ONEDNN_FOR_GPU)
|
||||
target_include_directories(${TARGET_NAME} PRIVATE $<TARGET_PROPERTY:dnnl,INCLUDE_DIRECTORIES>)
|
||||
endif()
|
||||
|
||||
if(WIN32)
|
||||
target_link_libraries(${TARGET_NAME} PRIVATE setupapi)
|
||||
elseif((NOT ANDROID) AND (UNIX))
|
||||
|
@ -3,6 +3,7 @@
|
||||
//
|
||||
|
||||
#include <oneapi/dnnl/dnnl.hpp>
|
||||
#include <oneapi/dnnl/dnnl_debug.h>
|
||||
|
||||
#include "test_utils.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user