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
9a06e83e
Commit
9a06e83e
authored
Sep 08, 2022
by
Po-Yen, Chen
Browse files
Remove 'MPerThread' template parameter
parent
7268c739
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
9 deletions
+0
-9
include/ck/tensor_operation/gpu/device/device_permute.hpp
include/ck/tensor_operation/gpu/device/device_permute.hpp
+0
-8
include/ck/tensor_operation/gpu/grid/gridwise_permute.hpp
include/ck/tensor_operation/gpu/grid/gridwise_permute.hpp
+0
-1
No files found.
include/ck/tensor_operation/gpu/device/device_permute.hpp
View file @
9a06e83e
...
...
@@ -82,7 +82,6 @@ template <typename InDataType,
index_t
NPerBlock
,
index_t
HPerBlock
,
index_t
WPerBlock
,
index_t
MPerThread
,
index_t
InScalarPerVector
,
index_t
OutScalarPerVector
>
struct
DevicePermute
:
detail
::
DevicePermuteBase
<
DevicePermute
<
InDataType
,
...
...
@@ -93,7 +92,6 @@ struct DevicePermute : detail::DevicePermuteBase<DevicePermute<InDataType,
NPerBlock
,
HPerBlock
,
WPerBlock
,
MPerThread
,
InScalarPerVector
,
OutScalarPerVector
>>
{
...
...
@@ -149,7 +147,6 @@ struct DevicePermute : detail::DevicePermuteBase<DevicePermute<InDataType,
NPerBlock
,
HPerBlock
,
WPerBlock
,
MPerThread
,
InScalarPerVector
,
OutScalarPerVector
>
;
...
...
@@ -221,11 +218,6 @@ struct DevicePermute : detail::DevicePermuteBase<DevicePermute<InDataType,
static
bool
IsSupportedArgument
(
const
Argument
&
arg
)
{
if
(
arg
.
inLengths_
.
back
()
%
MPerThread
!=
0
)
{
return
false
;
}
// check if only swap last 2 dimensions
if
(
!
(
std
::
equal
(
begin
(
arg
.
inLengths_
),
std
::
prev
(
end
(
arg
.
inLengths_
),
2
),
...
...
include/ck/tensor_operation/gpu/grid/gridwise_permute.hpp
View file @
9a06e83e
...
...
@@ -123,7 +123,6 @@ template <typename InGridDesc,
index_t
NPerBlock
,
index_t
HPerBlock
,
index_t
WPerBlock
,
index_t
MPerThread
,
index_t
InScalarPerVector
,
index_t
OutScalarPerVector
>
struct
GridwisePermute
...
...
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