Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
eea003a5
Commit
eea003a5
authored
Jul 02, 2018
by
Paul
Browse files
s/rtg/migraph
parent
5f1ea74f
Changes
62
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
13 deletions
+13
-13
tools/include/operation.hpp
tools/include/operation.hpp
+8
-8
tools/include/target.hpp
tools/include/target.hpp
+5
-5
No files found.
tools/include/operation.hpp
View file @
eea003a5
#ifndef
RTG_GUARD_RTG
LIB_OPERAND_HPP
#define
RTG_GUARD_RTG
LIB_OPERAND_HPP
#ifndef
MIGRAPH_GUARD_MIGRAPH
LIB_OPERAND_HPP
#define
MIGRAPH_GUARD_MIGRAPH
LIB_OPERAND_HPP
#include <string>
#include <functional>
#include <memory>
#include <type_traits>
#include <utility>
#include <
rtg
/shape.hpp>
#include <
rtg
/argument.hpp>
#include <
rtg
/context.hpp>
#include <
migraph
/shape.hpp>
#include <
migraph
/argument.hpp>
#include <
migraph
/context.hpp>
namespace
rtg
{
namespace
migraph
{
namespace
operation_stream
{
...
...
@@ -27,10 +27,10 @@ interface('operation',
virtual
(
'
name
'
,
returns
=
'
std
::
string
'
,
const
=
True
),
virtual
(
'
compute_shape
'
,
returns
=
'
shape
'
,
input
=
'
std
::
vector
<
shape
>
'
,
const
=
True
),
virtual
(
'
compute
'
,
returns
=
'
argument
'
,
ctx
=
'
context
&
'
,
output
=
'
shape
'
,
input
=
'
std
::
vector
<
argument
>
'
,
const
=
True
),
friend
(
'
operator
<<
'
,
returns
=
'
std
::
ostream
&
'
,
os
=
'
std
::
ostream
&
'
,
op
=
'
const
operation
&
'
,
using
=
'
rtg
::
operation_stream
::
operator
<<
'
)
friend
(
'
operator
<<
'
,
returns
=
'
std
::
ostream
&
'
,
os
=
'
std
::
ostream
&
'
,
op
=
'
const
operation
&
'
,
using
=
'
migraph
::
operation_stream
::
operator
<<
'
)
)
%>
}
// namespace
rtg
}
// namespace
migraph
#endif
tools/include/target.hpp
View file @
eea003a5
#ifndef
RTG_GUARD_RTG
LIB_TARGET_HPP
#define
RTG_GUARD_RTG
LIB_TARGET_HPP
#ifndef
MIGRAPH_GUARD_MIGRAPH
LIB_TARGET_HPP
#define
MIGRAPH_GUARD_MIGRAPH
LIB_TARGET_HPP
#include <string>
#include <functional>
#include <memory>
#include <type_traits>
#include <utility>
#include <
rtg
/context.hpp>
#include <
migraph
/context.hpp>
namespace
rtg
{
namespace
migraph
{
struct
program
;
...
...
@@ -20,6 +20,6 @@ interface('target',
)
%>
}
// namespace
rtg
}
// namespace
migraph
#endif
Prev
1
2
3
4
Next
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