namnkahn1607 wrote: > IIRC, inclusion of the header was added because some of the CUDA headers we > do pre-include at runtime depended on it at some point.
I did a bit of time travelling and found the [original commit](c8dae5378b6e5520e958adf1ae28805916665547) of this workaround. The commit message says the force-include was added for user code including cuRAND (because `curand_mtgp32_kernel.h` redeclares `blockDim`/`threadIdx` with `dim3`/`uint3`), rather than because headers pre-included by `__clang_cuda_runtime_wrapper.h` depended on it. Does that match your intent? I'm not sure if I missed any later dependency from from the wrapper's own includes. https://github.com/llvm/llvm-project/pull/244945 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
