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
8daff431
"docs/vscode:/vscode.git/clone" did not exist on "8eaaa546d89f836b716e92348786d878f883ee86"
Commit
8daff431
authored
Sep 22, 2022
by
wangshaojie6
Browse files
use another instance to check the efficiency
parent
7acbf104
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
example/42_groupnorm/groupnorm_sigmoid_fp16.cpp
example/42_groupnorm/groupnorm_sigmoid_fp16.cpp
+11
-11
No files found.
example/42_groupnorm/groupnorm_sigmoid_fp16.cpp
View file @
8daff431
...
@@ -55,26 +55,26 @@ using DeviceInstance =
...
@@ -55,26 +55,26 @@ using DeviceInstance =
YElementOp
,
YElementOp
,
Rank
,
Rank
,
NumReduceDim
,
NumReduceDim
,
256
,
// BlockSize
1024
,
// BlockSize
8
,
// ClusterM
1
,
// ClusterM
32
,
// ClusterK
1024
,
// ClusterK
1
,
// SliceM
1
,
// SliceM
8
,
// SliceK
8
,
// SliceK
1
,
// SrcVecDim (0=M, 1=K)
1
,
// SrcVecDim (0=M, 1=K)
8
,
// SrcScalarPerVector
2
,
// SrcScalarPerVector
1
,
// GammaVecDim (0=M, 1=K)
1
,
// GammaVecDim (0=M, 1=K)
8
,
// GammaScalarPerVector
2
,
// GammaScalarPerVector
1
,
// BetaVecDim (0=M, 1=K)
1
,
// BetaVecDim (0=M, 1=K)
8
,
// BetaScalarPerVector
2
,
// BetaScalarPerVector
8
>
;
// OutScalarPerVector
2
>
;
// OutScalarPerVector
int
main
(
int
argc
,
char
*
argv
[])
int
main
(
int
argc
,
char
*
argv
[])
{
{
ck
::
index_t
N
=
128
;
ck
::
index_t
N
=
2
;
ck
::
index_t
H
=
16
;
ck
::
index_t
H
=
32
;
ck
::
index_t
W
=
16
;
ck
::
index_t
W
=
32
;
ck
::
index_t
G
=
32
;
ck
::
index_t
G
=
32
;
ck
::
index_t
C
=
4
0
;
ck
::
index_t
C
=
3
0
;
if
(
argc
==
1
)
if
(
argc
==
1
)
{
{
...
...
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