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
ed7e16e6
Commit
ed7e16e6
authored
Jan 06, 2019
by
Paul
Browse files
Formatting
parent
c08af70a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
test/const_eval_test.cpp
test/const_eval_test.cpp
+1
-1
No files found.
test/const_eval_test.cpp
View file @
ed7e16e6
...
@@ -59,7 +59,7 @@ TEST_CASE(op_test1)
...
@@ -59,7 +59,7 @@ TEST_CASE(op_test1)
TEST_CASE
(
op_test2
)
TEST_CASE
(
op_test2
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
auto
x
=
p
.
add_parameter
(
"param"
,
migraphx
::
shape
{
migraphx
::
shape
::
float_type
,
{
1
}});
auto
x
=
p
.
add_parameter
(
"param"
,
migraphx
::
shape
{
migraphx
::
shape
::
float_type
,
{
1
}});
auto
two
=
p
.
add_literal
(
2
);
auto
two
=
p
.
add_literal
(
2
);
auto
sum
=
p
.
add_instruction
(
sum_cf_op
{},
x
,
two
);
auto
sum
=
p
.
add_instruction
(
sum_cf_op
{},
x
,
two
);
CHECK
(
sum
->
eval
().
empty
());
CHECK
(
sum
->
eval
().
empty
());
...
...
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