-
Notifications
You must be signed in to change notification settings - Fork 372
[FEA]: Expose compiler detection macros #8247
Copy link
Copy link
Open
Description
Is this a duplicate?
- I confirmed there appear to be no duplicate issues for this request and that I agree to the Code of Conduct
Area
libcu++
Is your feature request related to a problem? Please describe.
Any mature downstream project will at some point care about which compiler is currently being invoked. Usually, people end up rolling their own compiler detection macros with varying levels of success.
Describe the solution you'd like
Expose the _CCCL_COMPILER(x) macros publicly (sans underscore) to users in a cuda/compiler_detection (name subject to bike-shedding) header.
Effectively do #3237 but as a public interface.
Describe alternatives you've considered
No response
Additional context
No response
Reactions are currently unavailable