Skip to content

Commit

Permalink
ZEBinary: Update spec for nGen generatorID
Browse files Browse the repository at this point in the history
Add a new enum value for nGen at TargetMetatdata:: GeneratorId
  • Loading branch information
DianaChen authored and igcbot committed Jun 20, 2023
1 parent 708910e commit ec4a871
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion IGC/ZEBinWriter/zebin/source/ZEELF.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
3 changes: 2 additions & 1 deletion IGC/ZEBinWriter/zebin/spec/elf.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit ec4a871

Please sign in to comment.