[clang] [Clang][CUDA] Guard curand_mtgp32_kernel.h include with has_include (PR #244945)

Nam Khanh via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 21 14:11:55 PST 2026


namnkahn1607 wrote:

Also I did not include  `#pragma pop_macro("__USE_FAST_MATH__")` and `#pragma pop_macro("__CUDA_INCLUDE_COMPILER_INTERNAL_HEADERS__")` in the conditional block since their matching `push_macro` are unconditional and cover earlier includes in the wrapper.

https://github.com/llvm/llvm-project/pull/244945


More information about the cfe-commits mailing list