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
809d7dfb
Commit
809d7dfb
authored
Feb 24, 2024
by
Jing Zhang
Browse files
format
parent
2724c519
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
43 deletions
+43
-43
example/02_gemm_bilinear/gemm_bilinear_wmma_fp16.cpp
example/02_gemm_bilinear/gemm_bilinear_wmma_fp16.cpp
+43
-43
No files found.
example/02_gemm_bilinear/gemm_bilinear_wmma_fp16.cpp
View file @
809d7dfb
...
@@ -65,49 +65,49 @@ using CDEElementOp = AlphaBetaAdd;
...
@@ -65,49 +65,49 @@ using CDEElementOp = AlphaBetaAdd;
static
constexpr
auto
GemmSpec
=
ck
::
tensor_operation
::
device
::
GemmSpecialization
::
MNKPadding
;
static
constexpr
auto
GemmSpec
=
ck
::
tensor_operation
::
device
::
GemmSpecialization
::
MNKPadding
;
using
DeviceOpInstance
=
using
DeviceOpInstance
=
ck
::
tensor_operation
::
device
::
DeviceGemmMultipleD_Wmma_CShuffle
<
ck
::
tensor_operation
::
device
::
DeviceGemmMultipleD_Wmma_CShuffle
<
ALayout
,
ALayout
,
BLayout
,
BLayout
,
ck
::
Tuple
<
DLayout
>
,
ck
::
Tuple
<
DLayout
>
,
ELayout
,
ELayout
,
ADataType
,
ADataType
,
BDataType
,
BDataType
,
AccDataType
,
AccDataType
,
CShuffleDataType
,
CShuffleDataType
,
ck
::
Tuple
<
DDataType
>
,
ck
::
Tuple
<
DDataType
>
,
EDataType
,
EDataType
,
AElementOp
,
AElementOp
,
BElementOp
,
BElementOp
,
CDEElementOp
,
CDEElementOp
,
GemmSpec
,
GemmSpec
,
1
,
2
,
// Prefetch stage
128
,
128
,
// BlockSize
64
,
128
,
// MPerBlock
64
,
64
,
// NPerBlock
64
,
64
,
// KPerBlock
4
,
8
,
// K1
16
,
16
,
// MPerWmma
16
,
16
,
// NPerWmma
1
,
4
,
// M-Repeat // M-PerWmma / M-Repeat = M-Wave
4
,
2
,
// N-Repeat // N-PerWmma / N-Repeat = N-Wave
S
<
4
,
32
,
1
>
,
S
<
4
,
32
,
1
>
,
S
<
1
,
0
,
2
>
,
S
<
1
,
0
,
2
>
,
S
<
1
,
0
,
2
>
,
S
<
1
,
0
,
2
>
,
2
,
2
,
4
,
8
,
4
,
8
,
true
,
true
,
S
<
4
,
32
,
1
>
,
S
<
4
,
32
,
1
>
,
S
<
1
,
0
,
2
>
,
S
<
1
,
0
,
2
>
,
S
<
1
,
0
,
2
>
,
S
<
1
,
0
,
2
>
,
2
,
2
,
4
,
8
,
4
,
8
,
true
,
true
,
1
,
1
,
// C shuffle (M Repeat) Per store
1
,
1
,
// C shuffle (N Repeat) Per store
S
<
1
,
64
,
1
,
2
>
,
S
<
1
,
32
,
1
,
4
>
,
8
>
;
8
>
;
int
main
(
int
argc
,
char
*
argv
[])
int
main
(
int
argc
,
char
*
argv
[])
{
{
...
...
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