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
d726dd0c
Commit
d726dd0c
authored
Nov 09, 2023
by
Bartlomiej Kocot
Browse files
Test xdl fixes
parent
36c9a825
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
test/grouped_convnd_fwd/test_grouped_convnd_fwd_multi_ab_interface.cpp
...convnd_fwd/test_grouped_convnd_fwd_multi_ab_interface.cpp
+18
-0
No files found.
test/grouped_convnd_fwd/test_grouped_convnd_fwd_multi_ab_interface.cpp
View file @
d726dd0c
...
@@ -12,6 +12,8 @@
...
@@ -12,6 +12,8 @@
#include "ck/tensor_operation/gpu/element/element_wise_operation.hpp"
#include "ck/tensor_operation/gpu/element/element_wise_operation.hpp"
#include "ck/tensor_operation/gpu/device/impl/device_grouped_conv_fwd_multiple_d_xdl_cshuffle.hpp"
#include "ck/tensor_operation/gpu/device/impl/device_grouped_conv_fwd_multiple_d_xdl_cshuffle.hpp"
#include "ck/host_utility/device_prop.hpp"
#include "ck/library/utility/convolution_parameter.hpp"
#include "ck/library/utility/convolution_parameter.hpp"
#include "ck/library/utility/algorithm.hpp"
#include "ck/library/utility/algorithm.hpp"
#include "ck/library/utility/convolution_host_tensor_descriptor_helper.hpp"
#include "ck/library/utility/convolution_host_tensor_descriptor_helper.hpp"
...
@@ -194,6 +196,10 @@ class TestGroupedConvndFwdInterface
...
@@ -194,6 +196,10 @@ 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
;
...
@@ -202,6 +208,10 @@ TEST_F(TestGroupedConvndFwdMultiAInterface, MultiA)
...
@@ -202,6 +208,10 @@ 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
};
...
@@ -210,6 +220,10 @@ TEST_F(TestGroupedConvndFwdMultiBInterface, MultiB)
...
@@ -210,6 +220,10 @@ 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
};
...
@@ -218,6 +232,10 @@ TEST_F(TestGroupedConvndFwdMultiABInterface, MultiAB)
...
@@ -218,6 +232,10 @@ 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