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
ed7adaee
Commit
ed7adaee
authored
May 03, 2022
by
Jianfeng yan
Browse files
minor changes
parent
8e3c41a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
include/ck/tensor_operation/gpu/device/device_gemm_xdl_splitk_c_shuffle.hpp
...operation/gpu/device/device_gemm_xdl_splitk_c_shuffle.hpp
+8
-2
No files found.
include/ck/tensor_operation/gpu/device/device_gemm_xdl_splitk_c_shuffle.hpp
View file @
ed7adaee
...
@@ -194,7 +194,9 @@ struct DeviceGemmXdlSplitKCShuffle
...
@@ -194,7 +194,9 @@ struct DeviceGemmXdlSplitKCShuffle
template
<
>
template
<
>
static
auto
MakeAGridDescriptor_AK0_M_AK1
<
false
>
(
index_t
MRaw
,
index_t
K
,
index_t
StrideA
)
static
auto
MakeAGridDescriptor_AK0_M_AK1
<
false
>
(
index_t
MRaw
,
index_t
K
,
index_t
StrideA
)
{
{
// return MakeAGridDescriptor_AK0_M_AK1<true>(MRaw, K, StrideA);
#if 1
return
MakeAGridDescriptor_AK0_M_AK1
<
true
>
(
MRaw
,
K
,
StrideA
);
#else
assert
(
K
%
KPerBlock
==
0
);
assert
(
K
%
KPerBlock
==
0
);
assert
(
K
%
AK1
==
0
);
assert
(
K
%
AK1
==
0
);
...
@@ -240,12 +242,15 @@ struct DeviceGemmXdlSplitKCShuffle
...
@@ -240,12 +242,15 @@ struct DeviceGemmXdlSplitKCShuffle
return
a_grid_desc_ak0_m_ak1
;
return
a_grid_desc_ak0_m_ak1
;
}
}
#endif
}
}
template
<
>
template
<
>
static
auto
MakeBGridDescriptor_BK0_N_BK1
<
false
>
(
index_t
K
,
index_t
NRaw
,
index_t
StrideB
)
static
auto
MakeBGridDescriptor_BK0_N_BK1
<
false
>
(
index_t
K
,
index_t
NRaw
,
index_t
StrideB
)
{
{
// return MakeBGridDescriptor_BK0_N_BK1<true>(K, NRaw, StrideB);
#if 1
return
MakeBGridDescriptor_BK0_N_BK1
<
true
>
(
K
,
NRaw
,
StrideB
);
#else
assert
(
K
%
KPerBlock
==
0
);
assert
(
K
%
KPerBlock
==
0
);
assert
(
K
%
BK1
==
0
);
assert
(
K
%
BK1
==
0
);
...
@@ -291,6 +296,7 @@ struct DeviceGemmXdlSplitKCShuffle
...
@@ -291,6 +296,7 @@ struct DeviceGemmXdlSplitKCShuffle
return
b_grid_desc_bk0_n_bk1
;
return
b_grid_desc_bk0_n_bk1
;
}
}
#endif
}
}
template
<
>
template
<
>
...
...
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