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
composable_kernel_ROCM
Commits
982f8bbc
Unverified
Commit
982f8bbc
authored
Mar 31, 2022
by
Adam Osewski
Committed by
GitHub
Mar 30, 2022
Browse files
Fix return type to be conformant with CTest. (#160)
Co-authored-by:
Adam Osewski
<
aosewski@amd.com
>
parent
34c661e7
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
4 deletions
+6
-4
test/conv_util/conv_util.cpp
test/conv_util/conv_util.cpp
+1
-1
test/convnd_fwd/conv1d_fwd.cpp
test/convnd_fwd/conv1d_fwd.cpp
+2
-0
test/convnd_fwd/conv2d_fwd.cpp
test/convnd_fwd/conv2d_fwd.cpp
+1
-1
test/convnd_fwd/conv3d_fwd.cpp
test/convnd_fwd/conv3d_fwd.cpp
+1
-1
test/reference_conv_fwd/reference_conv_fwd.cpp
test/reference_conv_fwd/reference_conv_fwd.cpp
+1
-1
No files found.
test/conv_util/conv_util.cpp
View file @
982f8bbc
...
@@ -193,5 +193,5 @@ int main(void)
...
@@ -193,5 +193,5 @@ int main(void)
<<
std
::
endl
;
<<
std
::
endl
;
res
=
TestGetHostTensorDescriptor
();
res
=
TestGetHostTensorDescriptor
();
std
::
cout
<<
"TestGetHostTensorDescriptor ..... "
<<
(
res
?
"SUCCESS"
:
"FAILURE"
)
<<
std
::
endl
;
std
::
cout
<<
"TestGetHostTensorDescriptor ..... "
<<
(
res
?
"SUCCESS"
:
"FAILURE"
)
<<
std
::
endl
;
return
0
;
return
res
?
0
:
1
;
}
}
test/convnd_fwd/conv1d_fwd.cpp
View file @
982f8bbc
...
@@ -146,4 +146,6 @@ int main()
...
@@ -146,4 +146,6 @@ int main()
res
=
TestConv1DNWCInt8Instances
();
res
=
TestConv1DNWCInt8Instances
();
std
::
cout
<<
"
\n
TestConv1DNWCInt8Instances ..... "
<<
(
res
?
"SUCCESS"
:
"FAILURE"
)
std
::
cout
<<
"
\n
TestConv1DNWCInt8Instances ..... "
<<
(
res
?
"SUCCESS"
:
"FAILURE"
)
<<
std
::
endl
;
<<
std
::
endl
;
return
res
?
0
:
1
;
}
}
test/convnd_fwd/conv2d_fwd.cpp
View file @
982f8bbc
...
@@ -143,5 +143,5 @@ int main()
...
@@ -143,5 +143,5 @@ int main()
std
::
cout
<<
"
\n
TestConv2DNHWCInt8Instances ..... "
<<
(
res
?
"SUCCESS"
:
"FAILURE"
)
std
::
cout
<<
"
\n
TestConv2DNHWCInt8Instances ..... "
<<
(
res
?
"SUCCESS"
:
"FAILURE"
)
<<
std
::
endl
;
<<
std
::
endl
;
return
0
;
return
res
?
0
:
1
;
}
}
test/convnd_fwd/conv3d_fwd.cpp
View file @
982f8bbc
...
@@ -290,5 +290,5 @@ int main()
...
@@ -290,5 +290,5 @@ int main()
std
::
cout
<<
"
\n
TestConv3DNDHWCInt8Instances ..... "
<<
(
res
?
"SUCCESS"
:
"FAILURE"
)
std
::
cout
<<
"
\n
TestConv3DNDHWCInt8Instances ..... "
<<
(
res
?
"SUCCESS"
:
"FAILURE"
)
<<
std
::
endl
;
<<
std
::
endl
;
return
0
;
return
res
?
0
:
1
;
}
}
test/reference_conv_fwd/reference_conv_fwd.cpp
View file @
982f8bbc
...
@@ -422,5 +422,5 @@ int main(void)
...
@@ -422,5 +422,5 @@ int main(void)
std
::
cout
<<
"TestConv1DNHWC ..... "
<<
(
res
?
"SUCCESS"
:
"FAILURE"
)
<<
std
::
endl
;
std
::
cout
<<
"TestConv1DNHWC ..... "
<<
(
res
?
"SUCCESS"
:
"FAILURE"
)
<<
std
::
endl
;
res
=
TestConv3DNCDHW
();
res
=
TestConv3DNCDHW
();
std
::
cout
<<
"TestConv3DNCDHW ..... "
<<
(
res
?
"SUCCESS"
:
"FAILURE"
)
<<
std
::
endl
;
std
::
cout
<<
"TestConv3DNCDHW ..... "
<<
(
res
?
"SUCCESS"
:
"FAILURE"
)
<<
std
::
endl
;
return
0
;
return
res
?
0
:
1
;
}
}
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