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
f76c0072
Commit
f76c0072
authored
Mar 22, 2024
by
Jakub Piasecki
Browse files
Merge remote-tracking branch 'origin/develop' into jakpiase/ggemm_multid_two_stage
parents
f27c50a7
9c052804
Changes
41
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
test/permute_scale/test_permute_scale.cpp
test/permute_scale/test_permute_scale.cpp
+12
-12
No files found.
test/permute_scale/test_permute_scale.cpp
View file @
f76c0072
...
...
@@ -52,40 +52,40 @@ TYPED_TEST_SUITE(TestPermute, KernelTypes);
TYPED_TEST
(
TestPermute
,
Test1D
)
{
constexpr
ck
::
index_t
NumDims
=
1
;
this
->
template
Run
<
NumDims
>({
8
},
{
1
},
{
2
});
this
->
template
Run
<
NumDims
>({
8
},
{
2
},
{
1
});
this
->
template
Run
<
NumDims
>({
16
},
{
1
},
{
1
});
this
->
template
Run
<
NumDims
>({
16
},
{
1
},
{
2
});
this
->
template
Run
<
NumDims
>({
1
},
{
1
},
{
1
});
}
TYPED_TEST
(
TestPermute
,
Test2D
)
{
constexpr
ck
::
index_t
NumDims
=
2
;
this
->
template
Run
<
NumDims
>({
8
,
4
},
{
4
,
1
},
{
1
,
8
});
this
->
template
Run
<
NumDims
>({
8
,
4
},
{
1
,
8
},
{
4
,
1
});
this
->
template
Run
<
NumDims
>({
8
,
16
},
{
16
,
1
},
{
1
,
8
});
this
->
template
Run
<
NumDims
>({
8
,
16
},
{
1
,
8
},
{
16
,
1
});
this
->
template
Run
<
NumDims
>({
1
,
1
},
{
1
,
1
},
{
1
,
1
});
}
TYPED_TEST
(
TestPermute
,
Test3D
)
{
constexpr
ck
::
index_t
NumDims
=
3
;
this
->
template
Run
<
NumDims
>({
2
,
4
,
4
},
{
16
,
4
,
1
},
{
1
,
2
,
8
});
this
->
template
Run
<
NumDims
>({
2
,
4
,
4
},
{
1
,
2
,
8
},
{
16
,
4
,
1
});
this
->
template
Run
<
NumDims
>({
8
,
2
,
8
},
{
16
,
8
,
1
},
{
1
,
8
,
16
});
this
->
template
Run
<
NumDims
>({
8
,
2
,
8
},
{
1
,
8
,
16
},
{
16
,
8
,
1
});
this
->
template
Run
<
NumDims
>({
1
,
1
,
1
},
{
1
,
1
,
1
},
{
1
,
1
,
1
});
}
TYPED_TEST
(
TestPermute
,
Test4D
)
{
constexpr
ck
::
index_t
NumDims
=
4
;
this
->
template
Run
<
NumDims
>({
2
,
4
,
4
,
4
},
{
64
,
16
,
4
,
1
},
{
1
,
2
,
8
,
32
});
this
->
template
Run
<
NumDims
>({
2
,
4
,
4
,
4
},
{
1
,
2
,
8
,
32
},
{
64
,
16
,
4
,
1
});
this
->
template
Run
<
NumDims
>({
8
,
2
,
3
,
8
},
{
48
,
24
,
8
,
1
},
{
1
,
8
,
16
,
48
});
this
->
template
Run
<
NumDims
>({
8
,
2
,
3
,
8
},
{
1
,
8
,
16
,
48
},
{
48
,
24
,
8
,
1
});
this
->
template
Run
<
NumDims
>({
1
,
1
,
1
,
1
},
{
1
,
1
,
1
,
1
},
{
1
,
1
,
1
,
1
});
}
TYPED_TEST
(
TestPermute
,
Test5D
)
{
constexpr
ck
::
index_t
NumDims
=
5
;
this
->
template
Run
<
NumDims
>({
2
,
4
,
4
,
4
,
4
},
{
256
,
64
,
16
,
4
,
1
},
{
1
,
2
,
8
,
32
,
12
8
});
this
->
template
Run
<
NumDims
>({
2
,
4
,
4
,
4
,
4
},
{
1
,
2
,
8
,
32
,
12
8
},
{
256
,
64
,
16
,
4
,
1
});
this
->
template
Run
<
NumDims
>({
8
,
2
,
3
,
4
,
8
},
{
192
,
96
,
32
,
8
,
1
},
{
1
,
8
,
16
,
48
,
1
9
2
});
this
->
template
Run
<
NumDims
>({
8
,
2
,
3
,
4
,
8
},
{
1
,
8
,
16
,
48
,
1
9
2
},
{
192
,
96
,
32
,
8
,
1
});
this
->
template
Run
<
NumDims
>({
1
,
1
,
1
,
1
,
1
},
{
1
,
1
,
1
,
1
,
1
},
{
1
,
1
,
1
,
1
,
1
});
}
...
...
@@ -93,8 +93,8 @@ TYPED_TEST(TestPermute, Test6D)
{
constexpr
ck
::
index_t
NumDims
=
6
;
this
->
template
Run
<
NumDims
>(
{
2
,
4
,
4
,
4
,
4
,
4
},
{
1024
,
256
,
64
,
16
,
4
,
1
},
{
1
,
2
,
8
,
32
,
128
,
512
});
{
8
,
2
,
3
,
4
,
5
,
8
},
{
960
,
480
,
16
0
,
4
0
,
8
,
1
},
{
1
,
8
,
16
,
48
,
192
,
960
});
this
->
template
Run
<
NumDims
>(
{
2
,
4
,
4
,
4
,
4
,
4
},
{
1
,
2
,
8
,
32
,
128
,
512
},
{
1024
,
256
,
64
,
16
,
4
,
1
});
{
8
,
2
,
3
,
4
,
5
,
8
},
{
1
,
8
,
16
,
48
,
192
,
960
},
{
960
,
480
,
16
0
,
4
0
,
8
,
1
});
this
->
template
Run
<
NumDims
>({
1
,
1
,
1
,
1
,
1
,
1
},
{
1
,
1
,
1
,
1
,
1
,
1
},
{
1
,
1
,
1
,
1
,
1
,
1
});
}
Prev
1
2
3
Next
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