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
OpenDAS
tilelang
Commits
471cc7f8
"...git@developer.sourcefind.cn:yangql/composable_kernel.git" did not exist on "8ce9fe5735d1297eeb611bb72b08e88bbc880d96"
Unverified
Commit
471cc7f8
authored
Sep 01, 2025
by
Wenhao Xie
Committed by
GitHub
Sep 01, 2025
Browse files
add bf16 exp fallback (#776)
parent
68af2159
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
src/tl_templates/cuda/common.h
src/tl_templates/cuda/common.h
+5
-0
No files found.
src/tl_templates/cuda/common.h
View file @
471cc7f8
...
@@ -330,3 +330,8 @@ TL_DEVICE void __sync_thread_partial() {
...
@@ -330,3 +330,8 @@ TL_DEVICE void __sync_thread_partial() {
asm
volatile
(
"bar.sync %0, %1;"
:
:
"r"
(
barrier_id
),
"r"
(
thread_count
));
asm
volatile
(
"bar.sync %0, %1;"
:
:
"r"
(
barrier_id
),
"r"
(
thread_count
));
}
}
}
// namespace tl
}
// namespace tl
namespace
cutlass
{
TL_DEVICE
bfloat16_t
fast_exp
(
bfloat16_t
x
)
{
return
::
hexp
(
x
);
}
}
// namespace cutlass
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