================ @@ -121,6 +121,11 @@ enum class CudaArch { GFX1151, GFX1200, GFX1201, + GFX9_GENERIC, ---------------- shiltian wrote:
I think you might want to group them with corresponding non-generic targets such that we can directly use `>=` and `<=` to compare if a GFX version falls into one category if necessary. I'm not sure if we have this kind of use case, but it is common for the other targets. Ignore this if we don't. https://github.com/llvm/llvm-project/pull/94483 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits