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
e616b476
"vscode:/vscode.git/clone" did not exist on "75f3a868e375917b4e36f9ff77a846a676f773de"
Commit
e616b476
authored
Jan 17, 2019
by
Paul
Browse files
Formatting
parent
2ac066ef
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
test/eval_test.cpp
test/eval_test.cpp
+2
-4
test/include/test.hpp
test/include/test.hpp
+2
-2
No files found.
test/eval_test.cpp
View file @
e616b476
...
...
@@ -41,16 +41,14 @@ struct id_ctx_op
struct
id_ctx_final_op
{
std
::
string
name
()
const
{
return
"id_ctx_final_op"
;
}
migraphx
::
argument
compute
(
const
migraphx
::
shape
&
,
std
::
vector
<
migraphx
::
argument
>
args
)
const
migraphx
::
argument
compute
(
const
migraphx
::
shape
&
,
std
::
vector
<
migraphx
::
argument
>
args
)
const
{
if
(
args
.
empty
())
return
{};
return
args
.
front
();
}
void
finalize
(
id_target
::
context
&
,
const
migraphx
::
shape
&
,
std
::
vector
<
migraphx
::
shape
>
)
{}
void
finalize
(
id_target
::
context
&
,
const
migraphx
::
shape
&
,
std
::
vector
<
migraphx
::
shape
>
)
{}
migraphx
::
shape
compute_shape
(
std
::
vector
<
migraphx
::
shape
>
inputs
)
const
{
...
...
test/include/test.hpp
View file @
e616b476
...
...
@@ -226,7 +226,7 @@ inline void run(int argc, const char* argv[])
for
(
auto
&&
name
:
cases
)
{
auto
f
=
m
.
find
(
name
);
if
(
f
==
m
.
end
())
if
(
f
==
m
.
end
())
std
::
cout
<<
"[ ERROR ] Test case '"
<<
name
<<
"' not found."
<<
std
::
endl
;
else
run_test_case
(
name
,
f
->
second
);
...
...
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