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

[BUG]: unify _CCCL_FORCEINLINE and _CCCL_ALWAYS_INLINE #2438

Closed
1 task done
ericniebler opened this issue Sep 19, 2024 · 0 comments · Fixed by #2439
Closed
1 task done

[BUG]: unify _CCCL_FORCEINLINE and _CCCL_ALWAYS_INLINE #2438

ericniebler opened this issue Sep 19, 2024 · 0 comments · Fixed by #2439
Labels
bug Something isn't working right.

Comments

@ericniebler
Copy link
Collaborator

Is this a duplicate?

Type of Bug

Something else

Component

libcu++

Describe the bug

cccl has _CCCL_FORCEINLINE and _CCCL_ALWAYS_INLINE. there should be only one. also, _CCCL_FORCEINLINE currently expands to inline when not using a CUDA compiler. that is unexpected. it should expand to either __attribute__((always_inline)) or __forceinline depending on which is supported by the host compiler.

How to Reproduce

n/a

Expected behavior

n/a

Reproduction link

No response

Operating System

No response

nvidia-smi output

No response

NVCC version

No response

@ericniebler ericniebler added the bug Something isn't working right. label Sep 19, 2024
@github-project-automation github-project-automation bot moved this to Todo in CCCL Sep 19, 2024
@cccl-authenticator-app cccl-authenticator-app bot moved this from Todo to In Review in CCCL Sep 19, 2024
@github-project-automation github-project-automation bot moved this from In Review to Done in CCCL Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working right.
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant