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
e9576baa
Commit
e9576baa
authored
Dec 02, 2024
by
rocking
Browse files
clang format
parent
356a4aef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
example/ck_tile/12_smoothquant/instances/smoothquant_fwd_api.cpp
.../ck_tile/12_smoothquant/instances/smoothquant_fwd_api.cpp
+2
-2
No files found.
example/ck_tile/12_smoothquant/instances/smoothquant_fwd_api.cpp
View file @
e9576baa
...
@@ -134,14 +134,14 @@ float smoothquant(smoothquant_traits t, smoothquant_args a, const ck_tile::strea
...
@@ -134,14 +134,14 @@ float smoothquant(smoothquant_traits t, smoothquant_args a, const ck_tile::strea
{
{
if
(
t
.
data_type
.
compare
(
"fp16"
)
==
0
)
if
(
t
.
data_type
.
compare
(
"fp16"
)
==
0
)
{
{
if
(
t
.
smooth_x
)
if
(
t
.
smooth_x
)
return
smoothquant_dispatch
<
ck_tile
::
fp16_t
,
true
>
(
t
,
a
,
s
);
return
smoothquant_dispatch
<
ck_tile
::
fp16_t
,
true
>
(
t
,
a
,
s
);
else
else
return
smoothquant_dispatch
<
ck_tile
::
fp16_t
,
false
>
(
t
,
a
,
s
);
return
smoothquant_dispatch
<
ck_tile
::
fp16_t
,
false
>
(
t
,
a
,
s
);
}
}
else
if
(
t
.
data_type
.
compare
(
"bf16"
)
==
0
)
else
if
(
t
.
data_type
.
compare
(
"bf16"
)
==
0
)
{
{
if
(
t
.
smooth_x
)
if
(
t
.
smooth_x
)
return
smoothquant_dispatch
<
ck_tile
::
bf16_t
,
true
>
(
t
,
a
,
s
);
return
smoothquant_dispatch
<
ck_tile
::
bf16_t
,
true
>
(
t
,
a
,
s
);
else
else
return
smoothquant_dispatch
<
ck_tile
::
bf16_t
,
false
>
(
t
,
a
,
s
);
return
smoothquant_dispatch
<
ck_tile
::
bf16_t
,
false
>
(
t
,
a
,
s
);
...
...
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