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
be0a9f03
Unverified
Commit
be0a9f03
authored
Oct 05, 2018
by
Robert Kimball
Committed by
GitHub
Oct 05, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
address klocwork issues (#1750)
parent
9f26b7e9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
0 deletions
+4
-0
update.cpp
doc/examples/update/update.cpp
+2
-0
placement.cpp
src/ngraph/placement.cpp
+1
-0
cpu_external_function.cpp
src/ngraph/runtime/cpu/cpu_external_function.cpp
+1
-0
No files found.
doc/examples/update/update.cpp
View file @
be0a9f03
...
...
@@ -46,4 +46,6 @@ int main()
std
::
cout
<<
std
::
get
<
0
>
(
r
);
}
std
::
cout
<<
std
::
endl
;
return
0
;
}
src/ngraph/placement.cpp
View file @
be0a9f03
...
...
@@ -36,6 +36,7 @@ std::string ngraph::placement_to_string(Placement placement)
case
Placement
:
:
GPU
:
return
"GPU"
;
case
Placement
:
:
NNP
:
return
"NNP"
;
}
throw
runtime_error
(
"unhandled placement type"
);
}
static
Node
*
take_independent_node_with_placement_priority
(
...
...
src/ngraph/runtime/cpu/cpu_external_function.cpp
View file @
be0a9f03
...
...
@@ -1358,6 +1358,7 @@ void runtime::cpu::CPU_ExternalFunction::build()
case
CPUTensorRole
:
:
CONSTANT
:
return
string
(
"CPUTensorRole::CONSTANT"
);
case
CPUTensorRole
:
:
OUTPUT
:
return
string
(
"CPUTensorRole::OUTPUT"
);
}
throw
runtime_error
(
"unhandled CPU tensor role"
);
};
//dump the tensor roles to debug manifest
...
...
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