Skip to content

Commit 340d1f6

Browse files
committed
Fixed export
1 parent f72a7cc commit 340d1f6

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

ngraph/test/runtime/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ if (NOT WIN32)
4242
target_link_libraries(ngraph_backend PRIVATE dl)
4343
endif()
4444
target_compile_definitions(ngraph_backend PRIVATE BACKEND_DLL_EXPORTS)
45-
target_include_directories(ngraph_backend INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
45+
target_include_directories(ngraph_backend PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
4646

4747
add_subdirectory(interpreter)
4848

ngraph/test/runtime/dynamic/dynamic_backend.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
//*****************************************************************************
1616

1717
#include "dynamic_backend.hpp"
18-
#include "../opset0_downgrade.hpp"
1918
#include "ngraph/graph_util.hpp"
2019
#include "ngraph/op/avg_pool.hpp"
2120
#include "ngraph/op/broadcast.hpp"
@@ -34,6 +33,7 @@
3433
#include "ngraph/pass/shape_relevance.hpp"
3534
#include "ngraph/specialize_function.hpp"
3635
#include "ngraph/util.hpp"
36+
#include "opset0_downgrade.hpp"
3737

3838
using namespace std;
3939
using namespace ngraph;

ngraph/test/runtime/dynamic/dynamic_backend.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
#include <string>
2222
#include <vector>
2323

24-
#include "../backend.hpp"
25-
#include "../cache.hpp"
24+
#include "backend.hpp"
25+
#include "cache.hpp"
2626
#include "ngraph/runtime/host_tensor.hpp"
2727
#include "ngraph/runtime/tensor.hpp"
2828

ngraph/test/runtime/op/avg_pool.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
#pragma once
1818

19+
#include "backend_visibility.hpp"
1920
#include "ngraph/op/op.hpp"
2021
#include "ngraph/op/util/attr_types.hpp"
2122

@@ -27,7 +28,7 @@ namespace ngraph
2728
{
2829
/// \brief Batched average pooling operation, with optional padding and window stride.
2930
///
30-
class NGRAPH_API AvgPool : public Op
31+
class BACKEND_API AvgPool : public Op
3132
{
3233
public:
3334
static constexpr NodeTypeInfo type_info{"AvgPool", 0};

ngraph/test/runtime/opset0_downgrade.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,14 @@
1616

1717
#pragma once
1818

19+
#include "backend_visibility.hpp"
1920
#include "ngraph/pass/pass.hpp"
2021

2122
namespace ngraph
2223
{
2324
namespace pass
2425
{
25-
class NGRAPH_API Opset0Downgrade : public NodePass
26+
class BACKEND_API Opset0Downgrade : public NodePass
2627
{
2728
public:
2829
///

0 commit comments

Comments
 (0)