Skip to content

Commit

Permalink
[AMD] Reland "Add gfx950 target definitions" (#5392)
Browse files Browse the repository at this point in the history
This relands #5392
to enable new arch target since backend support has been
added--it doesn't depend on the reverted LLVM upgrade in
#5341; basic
necessary enablement is already included in the current llvm
version we're using.
  • Loading branch information
jungpark-mlir authored Dec 10, 2024
1 parent c646244 commit f257479
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion third_party/amd/backend/include/hsa/amd_hsa_elf.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ enum : unsigned {
EF_AMDGPU_MACH_AMDGCN_GFX942 = 0x04c,
EF_AMDGPU_MACH_AMDGCN_RESERVED_0X4D = 0x04d,
EF_AMDGPU_MACH_AMDGCN_GFX1201 = 0x04e,
EF_AMDGPU_MACH_AMDGCN_RESERVED_0X4F = 0x04f,
EF_AMDGPU_MACH_AMDGCN_GFX950 = 0x04f,
EF_AMDGPU_MACH_AMDGCN_RESERVED_0X50 = 0x050,
EF_AMDGPU_MACH_AMDGCN_GFX9_GENERIC = 0x051,
EF_AMDGPU_MACH_AMDGCN_GFX10_1_GENERIC = 0x052,
Expand Down
1 change: 1 addition & 0 deletions third_party/amd/lib/TritonAMDGPUToLLVM/TargetUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ ISAFamily deduceISAFamily(llvm::StringRef arch) {

// CDNA ISA cases
switch (kind) {
case llvm::AMDGPU::GK_GFX950:
case llvm::AMDGPU::GK_GFX942:
case llvm::AMDGPU::GK_GFX941:
case llvm::AMDGPU::GK_GFX940:
Expand Down

0 comments on commit f257479

Please sign in to comment.