sqtt loader cleanups from the occupancy branch (#13431)

* cleanup err handling

* from disasms

* s/wave_execs/wave_insts
This commit is contained in:
qazal
2025-11-23 21:50:34 +08:00
committed by GitHub
parent 9d7a17ee39
commit 712c7a6448
2 changed files with 10 additions and 10 deletions

View File

@@ -81,7 +81,7 @@ class _ROCParseCtx:
ctypes.memmove((ctypes.c_char * sz).from_buffer(insts_blob), ev.instructions_array, sz)
self.inst_execs.setdefault(unwrap(self.active_kern), []).append(WaveExec(ev.wave_id, ev.cu, ev.simd, unwrap(self.active_se), ev.begin_time,
ev.end_time, insts_blob))
ev.end_time, insts_blob))
def decode(profile:list[ProfileEvent]) -> _ROCParseCtx:
dev_events:dict[str, ProfileDeviceEvent] = {}