Skip to content

Commit

Permalink
[AMD][BACKEND] Add gfx950 target definitions. (triton-lang#5281)
Browse files Browse the repository at this point in the history
Enable new arch target since backend support has been added.

(cherry picked from commit 134b3eb)
  • Loading branch information
jungpark-mlir authored and jataylo committed Dec 5, 2024
1 parent ed5dc78 commit 3ce364e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions third_party/amd/backend/include/hsa/amd_hsa_elf.h
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ enum : unsigned {
EF_AMDGPU_MACH_AMDGCN_GFX1151 = 0x04a,
EF_AMDGPU_MACH_AMDGCN_GFX941 = 0x04b,
EF_AMDGPU_MACH_AMDGCN_GFX942 = 0x04c,
EF_AMDGPU_MACH_AMDGCN_GFX950 = 0x04f,

// First/last AMDGCN-based processors.
EF_AMDGPU_MACH_AMDGCN_FIRST = EF_AMDGPU_MACH_AMDGCN_GFX600,
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 3ce364e

Please sign in to comment.