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
c1d677b0
"...composable_kernel_onnxruntime.git" did not exist on "bd7a2300061e26092edfe28c605c32101f0ec9e8"
Commit
c1d677b0
authored
Sep 20, 2023
by
Umang Yadav
Browse files
fix ci checks
parent
599a67ee
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
32 deletions
+32
-32
src/include/migraphx/verify_args.hpp
src/include/migraphx/verify_args.hpp
+1
-1
test/ref/im2col.cpp
test/ref/im2col.cpp
+1
-1
test/ref/quant_convolution.cpp
test/ref/quant_convolution.cpp
+15
-15
test/ref_dev_examples.cpp
test/ref_dev_examples.cpp
+15
-15
No files found.
src/include/migraphx/verify_args.hpp
View file @
c1d677b0
...
@@ -32,8 +32,8 @@ namespace migraphx {
...
@@ -32,8 +32,8 @@ namespace migraphx {
inline
namespace
MIGRAPHX_INLINE_NS
{
inline
namespace
MIGRAPHX_INLINE_NS
{
MIGRAPHX_EXPORT
bool
verify_args_with_threshold
(
const
std
::
string
&
name
,
MIGRAPHX_EXPORT
bool
verify_args_with_threshold
(
const
std
::
string
&
name
,
const
argument
&
ref_arg
,
const
argument
&
target_arg
,
const
argument
&
target_arg
,
const
argument
&
ref_arg
,
verify
::
tolerance
);
verify
::
tolerance
);
MIGRAPHX_EXPORT
bool
verify_args
(
const
std
::
string
&
name
,
MIGRAPHX_EXPORT
bool
verify_args
(
const
std
::
string
&
name
,
...
...
test/ref/im2col.cpp
View file @
c1d677b0
...
@@ -92,7 +92,7 @@ TEST_CASE(im2col_3x3_no_pad_test)
...
@@ -92,7 +92,7 @@ TEST_CASE(im2col_3x3_no_pad_test)
auto
result
=
p
.
eval
({}).
back
();
auto
result
=
p
.
eval
({}).
back
();
std
::
vector
<
int
>
gold
=
{
0
,
1
,
2
,
4
,
5
,
6
,
8
,
9
,
10
,
1
,
2
,
3
,
5
,
6
,
7
,
9
,
10
,
11
,
std
::
vector
<
int
>
gold
=
{
0
,
1
,
2
,
4
,
5
,
6
,
8
,
9
,
10
,
1
,
2
,
3
,
5
,
6
,
7
,
9
,
10
,
11
,
4
,
5
,
6
,
8
,
9
,
10
,
12
,
13
,
14
,
5
,
6
,
7
,
9
,
10
,
11
,
13
,
14
,
15
};
4
,
5
,
6
,
8
,
9
,
10
,
12
,
13
,
14
,
5
,
6
,
7
,
9
,
10
,
11
,
13
,
14
,
15
};
std
::
size_t
col_height
=
(
size
[
0
]
-
f
[
0
]
+
2
*
padding
[
0
])
/
stride
[
0
]
+
1
;
std
::
size_t
col_height
=
(
size
[
0
]
-
f
[
0
]
+
2
*
padding
[
0
])
/
stride
[
0
]
+
1
;
std
::
size_t
col_width
=
(
size
[
1
]
-
f
[
1
]
+
2
*
padding
[
1
])
/
stride
[
1
]
+
1
;
std
::
size_t
col_width
=
(
size
[
1
]
-
f
[
1
]
+
2
*
padding
[
1
])
/
stride
[
1
]
+
1
;
...
...
test/ref/quant_convolution.cpp
View file @
c1d677b0
...
@@ -48,21 +48,21 @@ TEST_CASE(quant_conv2d_padding_stride_test)
...
@@ -48,21 +48,21 @@ TEST_CASE(quant_conv2d_padding_stride_test)
auto
result
=
p
.
eval
({}).
back
();
auto
result
=
p
.
eval
({}).
back
();
std
::
vector
<
int32_t
>
gold
=
{
4521
,
std
::
vector
<
int32_t
>
gold
=
{
4521
,
7014
,
7014
,
7830
,
7830
,
11952
,
11952
,
10515
,
10515
,
16734
,
16734
,
19737
,
19737
,
30906
,
30906
,
13161
,
13161
,
19542
,
19542
,
19494
,
19494
,
28800
,
28800
,
34707
,
34707
,
52590
,
52590
,
54729
,
54729
,
82746
};
82746
};
std
::
vector
<
int32_t
>
results_vector
;
std
::
vector
<
int32_t
>
results_vector
;
result
.
visit
([
&
](
auto
output
)
{
results_vector
.
assign
(
output
.
begin
(),
output
.
end
());
});
result
.
visit
([
&
](
auto
output
)
{
results_vector
.
assign
(
output
.
begin
(),
output
.
end
());
});
EXPECT
(
migraphx
::
verify
::
verify_range
(
results_vector
,
gold
));
EXPECT
(
migraphx
::
verify
::
verify_range
(
results_vector
,
gold
));
...
...
test/ref_dev_examples.cpp
View file @
c1d677b0
...
@@ -151,21 +151,21 @@ TEST_CASE(handling_tensors)
...
@@ -151,21 +151,21 @@ TEST_CASE(handling_tensors)
result
.
visit
([
&
](
auto
output
)
{
results_vector
.
assign
(
output
.
begin
(),
output
.
end
());
});
result
.
visit
([
&
](
auto
output
)
{
results_vector
.
assign
(
output
.
begin
(),
output
.
end
());
});
// Solution vector
// Solution vector
std
::
vector
<
float
>
gold
=
{
-
0.20817225
,
std
::
vector
<
float
>
gold
=
{
-
0.20817225
,
0.87965256
,
0.87965256
,
0.14958936
,
0.14958936
,
-
1.24887264
,
-
1.24887264
,
-
0.06540672
,
-
0.06540672
,
0.20778663
,
0.20778663
,
0.40456355
,
0.40456355
,
-
0.99900877
,
-
0.99900877
,
0.4917807
,
0.4917807
,
0.1994698
,
0.1994698
,
0.64205718
,
0.64205718
,
0.37798831
,
0.37798831
,
-
0.25315839
,
-
0.25315839
,
0.44276932
,
0.44276932
,
-
0.16138598
,
-
0.16138598
,
0.79344082
};
0.79344082
};
EXPECT
(
migraphx
::
verify
::
verify_range
(
results_vector
,
gold
));
EXPECT
(
migraphx
::
verify
::
verify_range
(
results_vector
,
gold
));
}
}
...
...
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