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
eb7a8681
Commit
eb7a8681
authored
Nov 17, 2017
by
Yixing Lao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
get_instance_id for function and install LLVM
parent
521d2223
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletion
+14
-1
CMakeLists.txt
src/ngraph/CMakeLists.txt
+13
-0
function.hpp
src/ngraph/function.hpp
+1
-1
No files found.
src/ngraph/CMakeLists.txt
View file @
eb7a8681
...
...
@@ -211,6 +211,19 @@ install(DIRECTORY
DESTINATION
"
${
NGRAPH_INSTALL_LIB
}
"
)
endif
()
if
(
NGRAPH_CPU_ENABLE AND LLVM_INCLUDE_DIR AND
MKLDNN_INCLUDE_DIR
)
# Currently this is required for Argon codegen. To avoid this, we'll need to decouple LLVM from
# compiler.hpp
install
(
DIRECTORY
${
LLVM_INCLUDE_DIR
}
/
DESTINATION
"
${
NGRAPH_INSTALL_INCLUDE
}
"
)
install
(
DIRECTORY
${
LLVM_LIB_DIR
}
/
DESTINATION
"
${
NGRAPH_INSTALL_LIB
}
"
)
endif
()
add_dependencies
(
ngraph eigen
)
...
...
src/ngraph/function.hpp
View file @
eb7a8681
...
...
@@ -55,7 +55,7 @@ namespace ngraph
void
set_ordered_ops_valid
()
{
m_ordered_ops_valid
=
true
;
}
void
clear_ordered_ops_valid
()
{
m_ordered_ops_valid
=
false
;
}
friend
std
::
ostream
&
operator
<<
(
std
::
ostream
&
,
const
Function
&
);
size_t
get_instance_id
()
{
return
m_instance_id
;
}
protected
:
std
::
shared_ptr
<
Node
>
m_result
;
std
::
vector
<
std
::
shared_ptr
<
ngraph
::
op
::
Parameter
>>
m_parameters
;
...
...
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