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
b263425a
Commit
b263425a
authored
Sep 16, 2018
by
Paul
Browse files
Tidy fixes
parent
a9325a54
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
src/include/migraph/instruction.hpp
src/include/migraph/instruction.hpp
+1
-1
test/include/rob.hpp
test/include/rob.hpp
+5
-5
No files found.
src/include/migraph/instruction.hpp
View file @
b263425a
...
...
@@ -141,7 +141,7 @@ struct instruction
static
void
replace
(
instruction_ref
ins
,
operation
o
,
const
shape
&
r
,
std
::
vector
<
instruction_ref
>
args
)
{
ins
->
replace
(
o
,
r
,
std
::
move
(
args
));
ins
->
replace
(
std
::
move
(
o
)
,
r
,
std
::
move
(
args
));
backreference
(
ins
);
}
...
...
test/include/rob.hpp
View file @
b263425a
...
...
@@ -15,19 +15,19 @@ struct stowed
template
<
class
Tag
>
typename
Tag
::
type
stowed
<
Tag
>::
value
;
template
<
class
Tag
,
typename
Tag
::
type
x
>
template
<
class
Tag
,
typename
Tag
::
type
X
>
struct
stow_private
{
stow_private
()
{
stowed
<
Tag
>::
value
=
x
;
}
stow_private
()
noexcept
{
stowed
<
Tag
>::
value
=
X
;
}
static
stow_private
instance
;
};
template
<
class
Tag
,
typename
Tag
::
type
x
>
stow_private
<
Tag
,
x
>
stow_private
<
Tag
,
x
>::
instance
;
template
<
class
Tag
,
typename
Tag
::
type
X
>
stow_private
<
Tag
,
X
>
stow_private
<
Tag
,
X
>::
instance
;
template
<
class
C
,
class
T
>
struct
mem_data_ptr
{
type
def
T
(
C
::*
type
)
;
using
type
=
T
C
::*
;
};
#define MIGRAPH_ROB(name, Type, C, mem) \
...
...
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