jdoerfert added a reviewer: tra. jdoerfert added a comment. I can see that we want this but I guess the errors show the problem, replace `__attribute((device))` with `DEVICE` and define it based on CUDA vs OpenMP properly.
================ Comment at: clang/lib/Headers/__clang_cuda_builtin_vars.h:118 // architectures have a WARP_SZ value of 32'. __attribute__((device)) const int warpSize = 32; ---------------- Do we need to do something wrt to the attribute here and above? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D94884/new/ https://reviews.llvm.org/D94884 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits