Revert "ops rdna"

This reverts commit 81a11d891d.
This commit is contained in:
George Hotz
2023-05-21 13:02:18 -07:00
parent 325a3bf2cf
commit 0400315078
9 changed files with 13 additions and 144 deletions

View File

@@ -62,8 +62,6 @@ class CLProgram:
from disassemblers.adreno import disasm
disasm(self.binary())
elif 'gfx1100' in CL.cl_ctx.devices[0].name:
# NOTE: this can move, you have to read the ELF
#print(','.join([hex(x) for x in struct.unpack("I"*0x10, self.binary()[0x800:0x840])]))
asm = early_exec(([ROCM_LLVM_PATH / "llvm-objdump", '-d', '-'], self.binary()))
print('\n'.join([x for x in asm.decode('utf-8').split("\n") if 's_code_end' not in x]))
else: