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
Commits
2ca963c9
"...en/git@developer.sourcefind.cn:OpenDAS/mmdetection3d.git" did not exist on "75c6b3122a0f73d65c5947efc8701bdf11f05e76"
Commit
2ca963c9
authored
Nov 09, 2023
by
Bartlomiej Kocot
Browse files
Improve multi_ab interface test
parent
d726dd0c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
16 deletions
+8
-16
test/grouped_convnd_fwd/test_grouped_convnd_fwd_multi_ab_interface.cpp
...convnd_fwd/test_grouped_convnd_fwd_multi_ab_interface.cpp
+8
-16
No files found.
test/grouped_convnd_fwd/test_grouped_convnd_fwd_multi_ab_interface.cpp
View file @
2ca963c9
...
@@ -96,6 +96,14 @@ class TestGroupedConvndFwdMultiABInterfaceBase : public ::testing::Test
...
@@ -96,6 +96,14 @@ class TestGroupedConvndFwdMultiABInterfaceBase : public ::testing::Test
const
ck
::
utils
::
conv
::
ConvParam
conv_param
{
const
ck
::
utils
::
conv
::
ConvParam
conv_param
{
3
,
1
,
16
,
16
,
8
,
{
3
,
3
,
3
},
{
17
,
17
,
17
},
{
2
,
2
,
2
},
{
1
,
1
,
1
},
{
1
,
1
,
1
},
{
1
,
1
,
1
}};
3
,
1
,
16
,
16
,
8
,
{
3
,
3
,
3
},
{
17
,
17
,
17
},
{
2
,
2
,
2
},
{
1
,
1
,
1
},
{
1
,
1
,
1
},
{
1
,
1
,
1
}};
void
SetUp
()
override
{
if
(
!
ck
::
is_xdl_supported
())
{
GTEST_SKIP
();
}
}
template
<
typename
ADataType
,
typename
BDataType
>
template
<
typename
ADataType
,
typename
BDataType
>
bool
Run
(
ADataType
as
,
BDataType
bs
)
bool
Run
(
ADataType
as
,
BDataType
bs
)
{
{
...
@@ -196,10 +204,6 @@ class TestGroupedConvndFwdInterface
...
@@ -196,10 +204,6 @@ class TestGroupedConvndFwdInterface
TEST_F
(
TestGroupedConvndFwdMultiAInterface
,
MultiA
)
TEST_F
(
TestGroupedConvndFwdMultiAInterface
,
MultiA
)
{
{
if
(
!
ck
::
is_xdl_supported
())
{
GTEST_SKIP
();
}
std
::
array
<
const
void
*
,
NumAs
>
as
{
nullptr
,
nullptr
};
std
::
array
<
const
void
*
,
NumAs
>
as
{
nullptr
,
nullptr
};
const
void
*
b
=
nullptr
;
const
void
*
b
=
nullptr
;
...
@@ -208,10 +212,6 @@ TEST_F(TestGroupedConvndFwdMultiAInterface, MultiA)
...
@@ -208,10 +212,6 @@ TEST_F(TestGroupedConvndFwdMultiAInterface, MultiA)
TEST_F
(
TestGroupedConvndFwdMultiBInterface
,
MultiB
)
TEST_F
(
TestGroupedConvndFwdMultiBInterface
,
MultiB
)
{
{
if
(
!
ck
::
is_xdl_supported
())
{
GTEST_SKIP
();
}
const
void
*
a
=
nullptr
;
const
void
*
a
=
nullptr
;
std
::
array
<
const
void
*
,
NumBs
>
bs
{
nullptr
,
nullptr
};
std
::
array
<
const
void
*
,
NumBs
>
bs
{
nullptr
,
nullptr
};
...
@@ -220,10 +220,6 @@ TEST_F(TestGroupedConvndFwdMultiBInterface, MultiB)
...
@@ -220,10 +220,6 @@ TEST_F(TestGroupedConvndFwdMultiBInterface, MultiB)
TEST_F
(
TestGroupedConvndFwdMultiABInterface
,
MultiAB
)
TEST_F
(
TestGroupedConvndFwdMultiABInterface
,
MultiAB
)
{
{
if
(
!
ck
::
is_xdl_supported
())
{
GTEST_SKIP
();
}
std
::
array
<
const
void
*
,
NumAs
>
as
{
nullptr
,
nullptr
};
std
::
array
<
const
void
*
,
NumAs
>
as
{
nullptr
,
nullptr
};
std
::
array
<
const
void
*
,
NumBs
>
bs
{
nullptr
,
nullptr
};
std
::
array
<
const
void
*
,
NumBs
>
bs
{
nullptr
,
nullptr
};
...
@@ -232,10 +228,6 @@ TEST_F(TestGroupedConvndFwdMultiABInterface, MultiAB)
...
@@ -232,10 +228,6 @@ TEST_F(TestGroupedConvndFwdMultiABInterface, MultiAB)
TEST_F
(
TestGroupedConvndFwdInterface
,
SingleAB
)
TEST_F
(
TestGroupedConvndFwdInterface
,
SingleAB
)
{
{
if
(
!
ck
::
is_xdl_supported
())
{
GTEST_SKIP
();
}
const
void
*
a
=
nullptr
;
const
void
*
a
=
nullptr
;
const
void
*
b
=
nullptr
;
const
void
*
b
=
nullptr
;
...
...
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