Skip to content

Commit

Permalink
lint: GEMM verification script
Browse files Browse the repository at this point in the history
  • Loading branch information
Viviane Potocnik committed Jan 26, 2024
1 parent 7feaf73 commit 371e332
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sw/blas/gemm/verify.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ def main():
elf = Elf(args.symbols_bin)
else:
elf = Elf(args.snitch_bin)
dtype_size = bytes_to_int(elf.get_symbol_contents('dtype_size'), prec='32', signedness='unsigned')[0]
dtype_size = bytes_to_int(elf.get_symbol_contents('dtype_size'),
prec='32', signedness='unsigned')[0]
prec = str(dtype_size*8)
a = np.array(bytes_to_float(elf.get_symbol_contents('a'), prec=prec))
b = np.array(bytes_to_float(elf.get_symbol_contents('b'), prec=prec))
Expand Down

0 comments on commit 371e332

Please sign in to comment.