aco/gfx11+: disable v_pk_fmac_f16_dpp
Public docs are apparently wrong: https://github.com/llvm/llvm-project/pull/79598#issuecomment-1933988048 Cc: mesa-stable Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27533> (cherry picked from commit e927c5004f9f6305e2269b1b1f0950bcba916ce7)
This commit is contained in:
parent
963ad46563
commit
ddb4aff2c2
2 changed files with 4 additions and 1 deletions
|
|
@ -2134,7 +2134,7 @@
|
|||
"description": "aco/gfx11+: disable v_pk_fmac_f16_dpp",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -414,6 +414,9 @@ can_use_DPP(amd_gfx_level gfx_level, const aco_ptr<Instruction>& instr, bool dpp
|
|||
instr->opcode == aco_opcode::v_dot2_f32_bf16;
|
||||
}
|
||||
|
||||
if (instr->opcode == aco_opcode::v_pk_fmac_f16)
|
||||
return gfx_level < GFX11;
|
||||
|
||||
/* there are more cases but those all take 64-bit inputs */
|
||||
return instr->opcode != aco_opcode::v_madmk_f32 && instr->opcode != aco_opcode::v_madak_f32 &&
|
||||
instr->opcode != aco_opcode::v_madmk_f16 && instr->opcode != aco_opcode::v_madak_f16 &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue