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
86aaf3c1
Unverified
Commit
86aaf3c1
authored
Sep 23, 2025
by
Tong WU
Committed by
GitHub
Sep 23, 2025
Browse files
Add fast sine and cosine definitions in common.h for CUDA templates (#865)
parent
48c9a352
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/tl_templates/cuda/common.h
src/tl_templates/cuda/common.h
+2
-0
No files found.
src/tl_templates/cuda/common.h
View file @
86aaf3c1
...
...
@@ -18,6 +18,8 @@ using int4_t = int4;
#define hexp cutlass::fast_exp
#define hlog cutlass::fast_log
#define hsqrt cutlass::fast_sqrt
#define hsin cutlass::fast_sin
#define hcos cutlass::fast_cos
#define htanh cutlass::fast_tanh
#define hpow powf
...
...
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