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
fb54b55b
Commit
fb54b55b
authored
Dec 22, 2024
by
Mateusz Ozga
Browse files
Removed declytype
parent
03eb017d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
include/ck/tensor_operation/gpu/device/impl/device_grouped_conv_bwd_weight_xdl_cshuffle.hpp
...vice/impl/device_grouped_conv_bwd_weight_xdl_cshuffle.hpp
+3
-5
No files found.
include/ck/tensor_operation/gpu/device/impl/device_grouped_conv_bwd_weight_xdl_cshuffle.hpp
View file @
fb54b55b
...
...
@@ -241,7 +241,7 @@ struct DeviceGroupedConvBwdWeight_Xdl_CShuffle
ConvBackwardWeightSpecialization
>
{};
template
<
ck
::
index_t
NDim
,
typename
ck
::
enable_if
<
NDim
==
1
,
bool
>
::
type
=
false
>
static
auto
GetABCGridDesc
()
->
decltype
(
auto
)
static
auto
GetABCGridDesc
()
{
const
ck
::
index_t
dim
=
1
;
const
ck
::
index_t
batch
=
1
;
...
...
@@ -266,7 +266,7 @@ struct DeviceGroupedConvBwdWeight_Xdl_CShuffle
}
template
<
ck
::
index_t
NDim
,
typename
ck
::
enable_if
<
NDim
==
2
,
bool
>
::
type
=
false
>
static
auto
GetABCGridDesc
()
->
decltype
(
auto
)
static
auto
GetABCGridDesc
()
{
const
ck
::
index_t
dim
=
1
;
const
ck
::
index_t
batch
=
1
;
...
...
@@ -291,7 +291,7 @@ struct DeviceGroupedConvBwdWeight_Xdl_CShuffle
}
template
<
ck
::
index_t
NDim
,
typename
ck
::
enable_if
<
NDim
==
3
,
bool
>
::
type
=
false
>
static
auto
GetABCGridDesc
()
->
decltype
(
auto
)
static
auto
GetABCGridDesc
()
{
const
ck
::
index_t
dim
=
1
;
const
ck
::
index_t
batch
=
1
;
...
...
@@ -318,7 +318,6 @@ struct DeviceGroupedConvBwdWeight_Xdl_CShuffle
template
<
typename
SeqType
>
[[
nodiscard
,
gnu
::
always_inline
]]
inline
constexpr
static
auto
ShuffleSequenceAndTransformFrom4DTo3D
()
noexcept
(
noexcept
(
SeqType
{}.
Size
()
==
4
))
->
decltype
(
auto
)
{
// Remove first element and,
// Convert 4d->3d sequence.
...
...
@@ -332,7 +331,6 @@ struct DeviceGroupedConvBwdWeight_Xdl_CShuffle
template
<
typename
SeqType
>
[[
nodiscard
,
gnu
::
always_inline
]]
inline
constexpr
static
auto
TransformSequenceFrom4DTo3dAndReduceByOne
()
noexcept
(
noexcept
(
SeqType
{}.
Size
()
==
4
))
->
decltype
(
auto
)
{
// Skip first element and
// Convert 4d->3d and take away one from seq.
...
...
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