Skip to content

Commit 9e8d339

Browse files
DadSchoorse1ace
authored andcommitted
aco/gfx11+: disable v_pk_fmac_f16_dpp
Public docs are apparently wrong: llvm/llvm-project#79598 (comment) Cc: mesa-stable Reviewed-by: Daniel Schürmann <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27533> (cherry picked from commit e927c50)
1 parent 3e16073 commit 9e8d339

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.pick_status.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2134,7 +2134,7 @@
21342134
"description": "aco/gfx11+: disable v_pk_fmac_f16_dpp",
21352135
"nominated": true,
21362136
"nomination_type": 0,
2137-
"resolution": 0,
2137+
"resolution": 1,
21382138
"main_sha": null,
21392139
"because_sha": null,
21402140
"notes": null

src/amd/compiler/aco_ir.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,9 @@ can_use_DPP(amd_gfx_level gfx_level, const aco_ptr<Instruction>& instr, bool dpp
412412
instr->opcode == aco_opcode::v_dot2_f32_bf16;
413413
}
414414

415+
if (instr->opcode == aco_opcode::v_pk_fmac_f16)
416+
return gfx_level < GFX11;
417+
415418
/* there are more cases but those all take 64-bit inputs */
416419
return instr->opcode != aco_opcode::v_madmk_f32 && instr->opcode != aco_opcode::v_madak_f32 &&
417420
instr->opcode != aco_opcode::v_madmk_f16 && instr->opcode != aco_opcode::v_madak_f16 &&

0 commit comments

Comments
 (0)