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
31071957
Commit
31071957
authored
Jan 25, 2019
by
Rob Earhart
Committed by
Robert Kimball
Jan 25, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor tweaks for older g++ support (#2362)
parent
4d272f1f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
plaidml_impl.hpp
src/ngraph/runtime/plaidml/plaidml_impl.hpp
+1
-1
plaidml_pass_explicit_logicals.cpp
...ngraph/runtime/plaidml/plaidml_pass_explicit_logicals.cpp
+1
-1
No files found.
src/ngraph/runtime/plaidml/plaidml_impl.hpp
View file @
31071957
...
...
@@ -187,7 +187,7 @@ namespace ngraph
OpImplRegistration
()
{
GlobalOpImplMap
()
->
emplace
(
std
::
type_index
{
typeid
(
typename
OID
::
Impl
::
Op
)},
new
OID
()
);
std
::
unique_ptr
<
OpImplDescriptorBase
>
{
new
OID
()}
);
}
};
}
...
...
src/ngraph/runtime/plaidml/plaidml_pass_explicit_logicals.cpp
View file @
31071957
...
...
@@ -84,7 +84,7 @@ void ngraph::runtime::plaidml::pass::ExplicitLogicals::construct_logical_to_data
vertexai
::
plaidml
::
function
{
"function (I) -> (O) { O = as_int(I ? 1 : 0, 8);}"
},
NodeVector
{
producer
},
std
::
vector
<
std
::
tuple
<
element
::
Type
,
PartialShape
>>
{
{
element
::
i8
,
PartialShape
{
producer
->
get_output_shape
(
0
)}
}}));
{
std
::
make_tuple
(
element
::
i8
,
PartialShape
{
producer
->
get_output_shape
(
0
)})
}}));
return
true
;
};
...
...
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