-
Notifications
You must be signed in to change notification settings - Fork 182
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
Add support for cmath #983
Comments
I would like to do this after the NVC++ rework. Currently we have the bare minimum exposed for |
We'll need to coordinate with the CUDA math libraries team. I'll tentatively set it as a goal for 2.2.0, which would be early 2022. |
Usage of (present) cmath functions in Windows nvcc 11.2 causes error.
Code: #include <cuda/std/cmath>
__global__ void kernel() {
cuda::std::exp(int{0});
}
int main() {
kernel<<<1,1>>>();
} Right now, libcudacxx cmath uses std cmath. in Linux, functions in gnu std cmath are |
To be more clear on the ask here, CCCL has since added support for |
We should add support for
cmath
https://en.cppreference.com/w/cpp/header/cmath
The text was updated successfully, but these errors were encountered: