Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
N
ngraph
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ngraph
Commits
2712d6f6
Unverified
Commit
2712d6f6
authored
Feb 08, 2018
by
Sandeep
Committed by
GitHub
Feb 08, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
enable additional argon backend tests (#465)
parent
50377f86
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
external_argon_transformer.cmake
cmake/external_argon_transformer.cmake
+1
-0
CMakeLists.txt
test/CMakeLists.txt
+10
-0
No files found.
cmake/external_argon_transformer.cmake
View file @
2712d6f6
...
...
@@ -111,6 +111,7 @@ if (NGRAPH_ARGON_ENABLE)
endif
()
ExternalProject_Get_Property
(
ext_argon_transformer source_dir
)
set
(
ARGON_TRANSFORMER_SOURCE_DIR
${
source_dir
}
PARENT_SCOPE
)
set
(
ARGON_TRANSFORMER_INCLUDE_DIR
${
ARGON_TRANSFORMER_CMAKE_PREFIX
}
/include PARENT_SCOPE
)
set
(
ARGON_TRANSFORMER_LIB_DIR
${
ARGON_TRANSFORMER_CMAKE_PREFIX
}
/lib PARENT_SCOPE
)
set
(
ARGON_API_INCLUDE_DIR
${
NGRAPH_PREBUILD_ARGON_API_PATH
}
/include PARENT_SCOPE
)
...
...
test/CMakeLists.txt
View file @
2712d6f6
...
...
@@ -91,6 +91,16 @@ if(NGRAPH_ARGON_ENABLE)
include_directories
(
SYSTEM
${
ARGON_TRANSFORMER_INCLUDE_DIR
}
)
set
(
BACKEND_NAMES
${
BACKEND_NAMES
}
"ARGON"
)
set
(
SRC
${
SRC
}
argon_fusion.cpp
)
# enable additional Argon backend test
set
(
ARGON_ADDITIONAL_BACKEND_TESTS
${
ARGON_TRANSFORMER_SOURCE_DIR
}
/test/test_argon_backend
)
message
(
STATUS
"ARGON_ADDITIONAL_BACKEND_TESTS path:
${
ARGON_ADDITIONAL_BACKEND_TESTS
}
"
)
set
(
SRC
${
SRC
}
${
ARGON_ADDITIONAL_BACKEND_TESTS
}
/test_reduce_sum.cpp
${
ARGON_ADDITIONAL_BACKEND_TESTS
}
/test_dot.cpp
${
ARGON_ADDITIONAL_BACKEND_TESTS
}
/test_broadcast.cpp
${
ARGON_ADDITIONAL_BACKEND_TESTS
}
/test_conv.cpp
${
ARGON_ADDITIONAL_BACKEND_TESTS
}
/test_binary_ew.cpp
)
endif
()
foreach
(
BACKEND_NAME
${
BACKEND_NAMES
}
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment