aco/statistics: add latency to WMMA

Assume the normal VALU latency of 4 cycles.

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36328>
This commit is contained in:
Georg Lehmann
2025-07-23 18:58:09 +02:00
committed by Marge Bot
parent a30138c025
commit 8f61c85880
+1 -1
View File
@@ -192,7 +192,7 @@ get_perf_info(const Program& program, const Instruction& instr)
case instr_class::wmma: {
/* int8 and (b)f16 have the same performance. */
uint8_t cost = instr.opcode == aco_opcode::v_wmma_i32_16x16x16_iu4 ? 16 : 32;
return {cost, WAIT_USE(valu, cost)};
return {4 + cost, WAIT_USE(valu, cost)};
}
case instr_class::barrier:
case instr_class::waitcnt: