-
Notifications
You must be signed in to change notification settings - Fork 164
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
[BUG]: logb()
for fp16/bf16 is used by libc++, but is not defined when compiled with clang & libc++
#2743
Labels
bug
Something isn't working right.
Comments
miscco
added a commit
to miscco/cccl
that referenced
this issue
Nov 8, 2024
miscco
added a commit
to miscco/cccl
that referenced
this issue
Nov 8, 2024
I found that a ton of our cmath implementation has issues. I started with |
miscco
added a commit
to miscco/cccl
that referenced
this issue
Nov 8, 2024
miscco
added a commit
to miscco/cccl
that referenced
this issue
Nov 8, 2024
miscco
added a commit
to miscco/cccl
that referenced
this issue
Nov 8, 2024
miscco
added a commit
to miscco/cccl
that referenced
this issue
Nov 8, 2024
miscco
added a commit
to miscco/cccl
that referenced
this issue
Nov 8, 2024
miscco
added a commit
to miscco/cccl
that referenced
this issue
Nov 9, 2024
miscco
added a commit
to miscco/cccl
that referenced
this issue
Nov 9, 2024
miscco
added a commit
to miscco/cccl
that referenced
this issue
Nov 9, 2024
miscco
added a commit
to miscco/cccl
that referenced
this issue
Nov 10, 2024
miscco
added a commit
to miscco/cccl
that referenced
this issue
Nov 10, 2024
miscco
added a commit
to miscco/cccl
that referenced
this issue
Nov 10, 2024
miscco
added a commit
to miscco/cccl
that referenced
this issue
Nov 12, 2024
miscco
added a commit
to miscco/cccl
that referenced
this issue
Nov 17, 2024
miscco
added a commit
to miscco/cccl
that referenced
this issue
Nov 18, 2024
miscco
added a commit
to miscco/cccl
that referenced
this issue
Nov 19, 2024
miscco
added a commit
to miscco/cccl
that referenced
this issue
Nov 21, 2024
miscco
added a commit
to miscco/cccl
that referenced
this issue
Nov 21, 2024
miscco
added a commit
to miscco/cccl
that referenced
this issue
Nov 22, 2024
miscco
added a commit
to miscco/cccl
that referenced
this issue
Nov 22, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is this a duplicate?
Type of Bug
Compile-time Error
Component
libcu++
Describe the bug
Attempt to perform division on
cuda::std::complex<__half>
or__nv_bfloat16
fails to compile, because there's no specializedlogb()
function, which results in ambiguous overload resolution betweenlogb(float)
andlogb(double)
.How to Reproduce
See https://godbolt.org/z/zcKdxvsvx
Expected behavior
Division on
cuda::std::complex<half>
andcuda::std::complex<__nv_bfloat16>
compiles and works.Reproduction link
https://godbolt.org/z/zcKdxvsvx
Operating System
No response
nvidia-smi output
No response
NVCC version
No response
The text was updated successfully, but these errors were encountered: