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
266843fa
Commit
266843fa
authored
Nov 21, 2018
by
Robert Kimball
Committed by
Scott Cyphers
Nov 21, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move get_ngraph_version_string() to a separate source file (#2087)
parent
abe8c155
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
5 deletions
+21
-5
CMakeLists.txt
src/ngraph/runtime/cpu/CMakeLists.txt
+1
-0
cpu_backend.cpp
src/ngraph/runtime/cpu/cpu_backend.cpp
+0
-5
ngraph_version.cpp
src/ngraph/runtime/cpu/ngraph_version.cpp
+20
-0
No files found.
src/ngraph/runtime/cpu/CMakeLists.txt
View file @
266843fa
...
...
@@ -110,6 +110,7 @@ set(SRC
pass/cpu_rnn_fusion.cpp
pass/cpu_workspace_insertion.cpp
pass/cpu_reshape_sinking.cpp
ngraph_version.cpp
)
if
(
NOT NGRAPH_DEX_ONLY
)
...
...
src/ngraph/runtime/cpu/cpu_backend.cpp
View file @
266843fa
...
...
@@ -27,11 +27,6 @@
using
namespace
ngraph
;
using
namespace
std
;
extern
"C"
const
char
*
get_ngraph_version_string
()
{
return
NGRAPH_VERSION
;
}
extern
"C"
runtime
::
Backend
*
new_backend
(
const
char
*
configuration_string
)
{
// Force TBB to link to the backend
...
...
src/ngraph/runtime/cpu/ngraph_version.cpp
0 → 100644
View file @
266843fa
//*****************************************************************************
// Copyright 2017-2018 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//*****************************************************************************
extern
"C"
const
char
*
get_ngraph_version_string
()
{
return
NGRAPH_VERSION
;
}
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