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
28d0e337
"test/vscode:/vscode.git/clone" did not exist on "e0b2d3eebebd3d4efc7e323ad2dee605b607f394"
Commit
28d0e337
authored
Apr 12, 2019
by
Paul
Browse files
Prevent constant propogation on the tests
parent
33d69460
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
test/gpu/miopen.cpp
test/gpu/miopen.cpp
+2
-4
No files found.
test/gpu/miopen.cpp
View file @
28d0e337
...
@@ -236,8 +236,7 @@ struct test_exp : verify_program<test_exp>
...
@@ -236,8 +236,7 @@ struct test_exp : verify_program<test_exp>
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
migraphx
::
shape
s
{
migraphx
::
shape
::
float_type
,
{
6
}};
migraphx
::
shape
s
{
migraphx
::
shape
::
float_type
,
{
6
}};
std
::
vector
<
float
>
data
{
0.1
f
,
0.2
f
,
1.
f
,
2.
f
,
0.6
f
,
10.
f
};
auto
x
=
p
.
add_instruction
(
migraphx
::
op
::
abs
{},
p
.
add_parameter
(
"x"
,
s
));
auto
x
=
p
.
add_literal
(
s
,
data
);
p
.
add_instruction
(
migraphx
::
op
::
exp
{},
x
);
p
.
add_instruction
(
migraphx
::
op
::
exp
{},
x
);
return
p
;
return
p
;
}
}
...
@@ -249,8 +248,7 @@ struct test_log : verify_program<test_log>
...
@@ -249,8 +248,7 @@ struct test_log : verify_program<test_log>
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
migraphx
::
shape
s
{
migraphx
::
shape
::
float_type
,
{
6
}};
migraphx
::
shape
s
{
migraphx
::
shape
::
float_type
,
{
6
}};
std
::
vector
<
float
>
data
{
0.1
f
,
0.2
f
,
1.
f
,
2.
f
,
0.6
f
,
100.
f
};
auto
x
=
p
.
add_instruction
(
migraphx
::
op
::
abs
{},
p
.
add_parameter
(
"x"
,
s
));
auto
x
=
p
.
add_literal
(
s
,
data
);
p
.
add_instruction
(
migraphx
::
op
::
log
{},
x
);
p
.
add_instruction
(
migraphx
::
op
::
log
{},
x
);
return
p
;
return
p
;
}
}
...
...
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