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
70858f87
"git@developer.sourcefind.cn:gaoqiong/migraphx.git" did not exist on "661e6287da9e3814a4e0af08b2e946537deb9b35"
Commit
70858f87
authored
May 10, 2019
by
Shucai Xiao
Browse files
change test example to achieve better code coverage.
parent
f61beaf8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
test/type_conversion.cpp
test/type_conversion.cpp
+2
-2
No files found.
test/type_conversion.cpp
View file @
70858f87
...
@@ -42,7 +42,7 @@ TEST_CASE(param_add)
...
@@ -42,7 +42,7 @@ TEST_CASE(param_add)
auto
p1
=
create_program_float
();
auto
p1
=
create_program_float
();
auto
p2
=
create_program_half
();
auto
p2
=
create_program_half
();
migraphx
::
quantize
(
p1
,
{
"all"
}
);
migraphx
::
quantize
(
p1
);
EXPECT
(
p1
==
p2
);
EXPECT
(
p1
==
p2
);
}
}
...
@@ -142,7 +142,7 @@ TEST_CASE(param_add_sub)
...
@@ -142,7 +142,7 @@ TEST_CASE(param_add_sub)
auto
p1
=
create_program_float
();
auto
p1
=
create_program_float
();
auto
p2
=
create_program_half_all
();
auto
p2
=
create_program_half_all
();
migraphx
::
quantize
(
p1
,
{
"all"
}
);
migraphx
::
quantize
(
p1
);
migraphx
::
run_passes
(
p1
,
{
migraphx
::
dead_code_elimination
{}});
migraphx
::
run_passes
(
p1
,
{
migraphx
::
dead_code_elimination
{}});
EXPECT
(
p1
==
p2
);
EXPECT
(
p1
==
p2
);
...
...
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