From ec4a871ea55b4a95aa34faea0941f93b7b7cf42f Mon Sep 17 00:00:00 2001 From: Diana Chen Date: Tue, 20 Jun 2023 21:11:55 +0000 Subject: [PATCH] ZEBinary: Update spec for nGen generatorID Add a new enum value for nGen at TargetMetatdata:: GeneratorId --- IGC/ZEBinWriter/zebin/source/ZEELF.h | 3 ++- IGC/ZEBinWriter/zebin/spec/elf.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/IGC/ZEBinWriter/zebin/source/ZEELF.h b/IGC/ZEBinWriter/zebin/source/ZEELF.h index 48899bb2cfd1..db09fa3dbdf1 100644 --- a/IGC/ZEBinWriter/zebin/source/ZEELF.h +++ b/IGC/ZEBinWriter/zebin/source/ZEELF.h @@ -78,7 +78,8 @@ struct TargetMetadata { // bit[23:21]: generator of this device binary enum GeneratorId : uint8_t { UNREGISTERED = 0, - IGC = 1 + IGC = 1, + NGEN = 2 }; union { diff --git a/IGC/ZEBinWriter/zebin/spec/elf.md b/IGC/ZEBinWriter/zebin/spec/elf.md index e45158e7c48d..3b9436f7ef55 100644 --- a/IGC/ZEBinWriter/zebin/spec/elf.md +++ b/IGC/ZEBinWriter/zebin/spec/elf.md @@ -136,7 +136,8 @@ struct TargetMetadata { // bit[23:21]: generator of this device binary enum GeneratorId : uint8_t { UNREGISTERED = 0, - IGC = 1 + IGC = 1, + NGEN = 2 }; union {