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
6ec2b865
Commit
6ec2b865
authored
Aug 17, 2017
by
Avijit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FInished the plugin skeleton implementation.
parent
63eaf425
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
1 deletion
+9
-1
ngraph.cpp
src/ngraph.cpp
+5
-0
ngraph.hpp
src/ngraph.hpp
+1
-1
CMakeLists.txt
test/CMakeLists.txt
+3
-0
No files found.
src/ngraph.cpp
View file @
6ec2b865
...
...
@@ -29,3 +29,8 @@ void NGraph::add_params( const std::vector<std::string>& paramList )
INFO
<<
"Adding parameters"
;
m_params
.
insert
(
m_params
.
end
(),
paramList
.
begin
(),
paramList
.
end
());
}
const
std
::
vector
<
std
::
string
>&
NGraph
::
get_params
()
const
{
return
m_params
;
}
src/ngraph.hpp
View file @
6ec2b865
...
...
@@ -20,7 +20,7 @@ class NGraph
{
public
:
void
add_params
(
const
std
::
vector
<
std
::
string
>&
paramList
);
const
std
::
vector
<
std
::
string
>&
get_params
()
const
{
return
m_params
;
}
const
std
::
vector
<
std
::
string
>&
get_params
()
const
;
std
::
string
get_name
()
const
{
return
"NGraph Plugin"
;
}
private
:
...
...
test/CMakeLists.txt
View file @
6ec2b865
...
...
@@ -38,7 +38,10 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-DCURDIR=
\\\"
${
CMAKE_CURRENT_SOURCE_DIR
}
\\\"
"
)
add_executable
(
unit-test
${
SRC
}
)
target_link_libraries
(
unit-test ngraph pthread libgtest
)
target_link_libraries
(
unit-test
${
CMAKE_DL_LIBS
}
)
add_dependencies
(
unit-test ngraph libgtest
)
add_custom_target
(
check
...
...
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