[clang] [llvm] [TargetParser] Add a list of Intel GPUs, and use it in offload-arch (PR #222072)
Nikita Kornev via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 16 09:53:08 PDT 2026
================
@@ -24,42 +24,25 @@
namespace llvm {
namespace IntelGPU {
-/// The Intel GPU architecture names this build knows, covering both physical
-/// devices and the compatibility names that stand for a whole product line.
-enum GPUKind : uint16_t {
+/// Intel GPU architecture names, covering both physical devices and the
+/// compatibility names that stand for a whole product line.
+enum GPUKind : uint8_t {
----------------
KornevNikita wrote:
Srividya also [changes](https://github.com/llvm/llvm-project/pull/223199/changes/d0b8acd6a671b2960379c8ec080feb099c67796b) the type to `uint8_t`.
https://github.com/llvm/llvm-project/pull/222072
More information about the cfe-commits
mailing list