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
7e1308ce
Commit
7e1308ce
authored
May 20, 2019
by
Shucai Xiao
Browse files
fix build error.
parent
8b9e07e1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
7 deletions
+3
-7
src/include/migraphx/op/quant_convolution.hpp
src/include/migraphx/op/quant_convolution.hpp
+1
-1
test/gpu/miopen.cpp
test/gpu/miopen.cpp
+2
-1
test/op_shape_test.cpp
test/op_shape_test.cpp
+0
-5
No files found.
src/include/migraphx/op/quant_convolution.hpp
View file @
7e1308ce
...
...
@@ -95,7 +95,7 @@ struct quant_convolution
}
else
{
MIGRAPHX_THROW
(
"
I
nvalid padding mode"
);
MIGRAPHX_THROW
(
"
QUANT_CONVOLUTION: i
nvalid padding mode"
);
}
}
};
...
...
test/gpu/miopen.cpp
View file @
7e1308ce
...
...
@@ -1262,11 +1262,12 @@ struct quant_dot_3args_2 : verify_program<quant_dot_3args_2>
migraphx
::
shape
m1_shape
{
migraphx
::
shape
::
int8_type
,
{
8
,
2
}};
migraphx
::
shape
m2_shape
{
migraphx
::
shape
::
int8_type
,
{
8
,
7
}};
migraphx
::
shape
m3_shape
{
migraphx
::
shape
::
int32_type
,
{
2
,
7
}};
std
::
vector
<
int
>
m3_data
(
2
*
7
,
1
);
auto
l1
=
p
.
add_parameter
(
"a"
,
m1_shape
);
auto
tl1
=
p
.
add_instruction
(
migraphx
::
op
::
transpose
{{
1
,
0
}},
l1
);
auto
l2
=
p
.
add_parameter
(
"b"
,
m2_shape
);
auto
l3
=
p
.
add_
parameter
(
"c"
,
m3_shape
);
auto
l3
=
p
.
add_
literal
(
m3_shape
,
m3_data
);
p
.
add_instruction
(
migraphx
::
op
::
quant_dot
{
1
,
3
},
tl1
,
l2
,
l3
);
return
p
;
}
...
...
test/op_shape_test.cpp
View file @
7e1308ce
...
...
@@ -104,11 +104,6 @@ TEST_CASE(quant_convolution_shape)
migraphx
::
op
::
quant_convolution
{{{
0
,
0
}},
{{
1
,
1
}},
{{
1
,
1
}},
migraphx
::
op
::
valid
},
input
,
weights
);
throws_shape
(
migraphx
::
op
::
quant_convolution
{
{{
0
,
0
}},
{{
1
,
1
}},
{{
1
,
1
}},
migraphx
::
op
::
padding_mode_t
(
9999
)},
input
,
weights
);
}
TEST_CASE
(
transpose_shape
)
...
...
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