Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when trying to compile selective_scan I get the error "VMamba-main\kernels\selective_scan\csrc\selective_scan\cus\selective_scan_bwd_kernel.cuh(158): error: identifier "M_LOG2E" is undefined" #84

Open
Roaryie opened this issue Mar 13, 2024 · 3 comments

Comments

@Roaryie
Copy link

Roaryie commented Mar 13, 2024

is there a fix for it or how do I get it to work

@MzeroMiko
Copy link
Owner

So can you show me the environment you use?

@WqxLoveCoding
Copy link

Have you fixed it? I met the same error...

@MzeroMiko
Copy link
Owner

M_LOG2E is actually math_log_2{e}, which is approximately 1.4426950408889634. You can #define M_LOG2E 1.4426950408889634; to use it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants