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
zhangdong1
Block-Sparse-Attention
Commits
a8914127
Commit
a8914127
authored
Nov 10, 2024
by
sxtyzhangzk
Browse files
[major] fix M_LOG2E missing on Windows
parent
1fe94628
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
csrc/block_sparse_attn/src/softmax.h
csrc/block_sparse_attn/src/softmax.h
+4
-0
No files found.
csrc/block_sparse_attn/src/softmax.h
View file @
a8914127
...
...
@@ -16,6 +16,10 @@
#include "philox.cuh"
#include "utils.h"
#ifndef M_LOG2E
#define M_LOG2E 1.4426950408889634074
#endif
namespace
flash
{
using
namespace
cute
;
...
...
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