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
95a19165
Commit
95a19165
authored
Jun 24, 2019
by
fenglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add comments, add to gpu not supported list
parent
0b79a3c4
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
1 deletion
+19
-1
ngraph.hpp
src/ngraph/ngraph.hpp
+2
-0
recv.hpp
src/ngraph/op/recv.hpp
+6
-0
send.hpp
src/ngraph/op/send.hpp
+6
-0
gpu_backend.cpp
src/ngraph/runtime/gpu/gpu_backend.cpp
+3
-1
gpu_emitter.cpp
src/ngraph/runtime/gpu/gpu_emitter.cpp
+2
-0
No files found.
src/ngraph/ngraph.hpp
View file @
95a19165
...
...
@@ -144,6 +144,7 @@
#include "ngraph/op/power.hpp"
#include "ngraph/op/product.hpp"
#include "ngraph/op/quantize.hpp"
#include "ngraph/op/recv.hpp"
#include "ngraph/op/relu.hpp"
#include "ngraph/op/replace_slice.hpp"
#include "ngraph/op/reshape.hpp"
...
...
@@ -152,6 +153,7 @@
#include "ngraph/op/scatter_add.hpp"
#include "ngraph/op/scatter_nd_add.hpp"
#include "ngraph/op/select.hpp"
#include "ngraph/op/send.hpp"
#include "ngraph/op/sigmoid.hpp"
#include "ngraph/op/sign.hpp"
#include "ngraph/op/sin.hpp"
...
...
src/ngraph/op/recv.hpp
View file @
95a19165
...
...
@@ -30,6 +30,12 @@ namespace ngraph
NGRAPH_API
static
const
std
::
string
type_name
;
const
std
::
string
&
description
()
const
override
{
return
type_name
;
}
/// \brief Constructs an unitialized recv operation.
Recv
();
/// \brief Constructs a Recv operation.
///
/// \param arg The node for tensor to receive data
/// \param src_id the source id which could be rank or node id.
Recv
(
const
std
::
shared_ptr
<
Node
>&
arg
,
int
src_id
);
void
validate_and_infer_types
()
override
;
...
...
src/ngraph/op/send.hpp
View file @
95a19165
...
...
@@ -30,6 +30,12 @@ namespace ngraph
NGRAPH_API
static
const
std
::
string
type_name
;
const
std
::
string
&
description
()
const
override
{
return
type_name
;
}
/// \brief Constructs an unitialized send operation.
Send
();
/// \brief Constructs a send operation.
///
/// \param arg The node for input tensor
/// \param dest_id the target id which could be rank of node id.
Send
(
const
std
::
shared_ptr
<
Node
>&
arg
,
int
dest_id
);
void
validate_and_infer_types
()
override
;
...
...
src/ngraph/runtime/gpu/gpu_backend.cpp
View file @
95a19165
...
...
@@ -232,7 +232,9 @@ bool runtime::gpu::GPU_Backend::is_supported(const Node& op) const
"GenerateMask"
,
"DynBroadcast"
,
"Transpose"
,
"Range"
};
"Range"
,
"Recv"
,
"Send"
};
set
<
string
>
float_only
=
{
"MaxPoolBackprop"
,
"AvgPoolBackprop"
,
"MaxPool"
,
"Dot"
};
...
...
src/ngraph/runtime/gpu/gpu_emitter.cpp
View file @
95a19165
...
...
@@ -104,6 +104,7 @@
#include "ngraph/op/power.hpp"
#include "ngraph/op/product.hpp"
#include "ngraph/op/quantize.hpp"
#include "ngraph/op/recv.hpp"
#include "ngraph/op/relu.hpp"
#include "ngraph/op/replace_slice.hpp"
#include "ngraph/op/reshape.hpp"
...
...
@@ -113,6 +114,7 @@
#include "ngraph/op/scatter_add.hpp"
#include "ngraph/op/scatter_nd_add.hpp"
#include "ngraph/op/select.hpp"
#include "ngraph/op/send.hpp"
#include "ngraph/op/sigmoid.hpp"
#include "ngraph/op/sign.hpp"
#include "ngraph/op/sin.hpp"
...
...
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