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
3c1e10ef
"git@developer.sourcefind.cn:gaoqiong/migraphx.git" did not exist on "b2f5a21ea2f8de5697847cdaa1171ebbb519c8fc"
Commit
3c1e10ef
authored
Aug 10, 2023
by
Paul
Browse files
Format
parent
661a6bbc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
test/msgpack.cpp
test/msgpack.cpp
+2
-2
No files found.
test/msgpack.cpp
View file @
3c1e10ef
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
#include <map>
#include <map>
#include "test.hpp"
#include "test.hpp"
template
<
class
T
>
template
<
class
T
>
auto
msgpack_type
(
migraphx
::
rank
<
0
>
,
T
src
)
auto
msgpack_type
(
migraphx
::
rank
<
0
>
,
T
src
)
{
{
if
constexpr
(
std
::
is_class
<
T
>
{})
if
constexpr
(
std
::
is_class
<
T
>
{})
...
@@ -36,7 +36,7 @@ auto msgpack_type(migraphx::rank<0>, T src)
...
@@ -36,7 +36,7 @@ auto msgpack_type(migraphx::rank<0>, T src)
return
src
;
return
src
;
}
}
template
<
class
T
>
template
<
class
T
>
auto
msgpack_type
(
migraphx
::
rank
<
1
>
,
const
T
&
src
)
->
decltype
(
src
.
empty
(),
std
::
vector
<
T
>
{})
auto
msgpack_type
(
migraphx
::
rank
<
1
>
,
const
T
&
src
)
->
decltype
(
src
.
empty
(),
std
::
vector
<
T
>
{})
{
{
if
(
src
.
empty
())
if
(
src
.
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