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
5127efd5
Commit
5127efd5
authored
Apr 23, 2018
by
Paul
Browse files
Reformat
parent
429970e5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
7 deletions
+2
-7
include/rtg/errors.hpp
include/rtg/errors.hpp
+1
-3
include/rtg/instruction.hpp
include/rtg/instruction.hpp
+1
-4
No files found.
include/rtg/errors.hpp
View file @
5127efd5
...
@@ -9,9 +9,7 @@ namespace rtg {
...
@@ -9,9 +9,7 @@ namespace rtg {
struct
exception
:
std
::
runtime_error
struct
exception
:
std
::
runtime_error
{
{
exception
(
std
::
string
msg
=
""
)
exception
(
std
::
string
msg
=
""
)
:
std
::
runtime_error
(
msg
)
{}
:
std
::
runtime_error
(
msg
)
{}
};
};
inline
exception
make_exception
(
std
::
string
context
,
std
::
string
message
=
""
)
inline
exception
make_exception
(
std
::
string
context
,
std
::
string
message
=
""
)
...
...
include/rtg/instruction.hpp
View file @
5127efd5
...
@@ -17,10 +17,7 @@ struct instruction
...
@@ -17,10 +17,7 @@ struct instruction
{
{
}
}
instruction
(
literal
l
)
instruction
(
literal
l
)
:
op
(
builtin
::
literal
{}),
result
(
l
.
get_shape
()),
lit
(
std
::
move
(
l
))
{}
:
op
(
builtin
::
literal
{}),
result
(
l
.
get_shape
()),
lit
(
std
::
move
(
l
))
{
}
operand
op
;
operand
op
;
shape
result
;
shape
result
;
...
...
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