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
e017a9f0
Commit
e017a9f0
authored
Sep 08, 2022
by
Po-Yen, Chen
Browse files
Re-formate example code
parent
7d5d9b8f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
example/36_permute/permute_fp16.cpp
example/36_permute/permute_fp16.cpp
+5
-5
No files found.
example/36_permute/permute_fp16.cpp
View file @
e017a9f0
...
@@ -8,11 +8,11 @@ using BDataType = F16;
...
@@ -8,11 +8,11 @@ using BDataType = F16;
// clang-format off
// clang-format off
using
DevicePermuteInstance
=
ck
::
tensor_operation
::
device
::
DevicePermute
using
DevicePermuteInstance
=
ck
::
tensor_operation
::
device
::
DevicePermute
// ######| InData| OutData| Elementwise| NumDim| Block| NPer| HPer| WPer|
MPerThread| InScalar| OutScalar
|
// ######| InData| OutData| Elementwise| NumDim| Block| NPer| HPer| WPer|
InBlock| InBlockTransfer| InBlockTransfer| Src| Dst| Src| Dst
|
// ######| Type| Type| Operation| | Size| Block| Block| Block|
|
PerVector| PerVector|
// ######| Type| Type| Operation| | Size| Block| Block| Block|
LdsExtraW| ThreadClusterLengths| ThreadClusterArrangeOrder| VectorDim| VectorDim| Scalar
PerVector|
Scalar
PerVector|
// ######| | | | | | | | | |
|
|
// ######| | | | | | | | | |
| | | | |
|
// ######| | | | | | | | | |
|
|
// ######| | | | | | | | | |
| | | | |
|
<
ADataType
,
BDataType
,
PassThrough
,
4
,
256
,
128
,
128
,
128
,
8
,
8
,
1
>
;
<
ADataType
,
BDataType
,
PassThrough
,
4
,
256
,
128
,
128
,
128
,
0
,
S
<
1
,
16
,
16
>
,
S
<
0
,
1
,
2
>
,
3
,
2
,
1
,
1
>
;
// clang-format on
// clang-format on
#include "run_permute_example.inc"
#include "run_permute_example.inc"
...
...
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