Skip to content

Commit

Permalink
Revert "Update interpreter_op_impl.h"
Browse files Browse the repository at this point in the history
This reverts commit f88cbac.
  • Loading branch information
makslevental committed Aug 26, 2024
1 parent f88cbac commit 58e3eac
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ inline void SubmitSerializedTransaction(XAie_DevInst &DevInst,
u32 size = (bw_header->Size - sizeof(*bw_header)) / 4;
for (uint32_t ii = 0; ii < size; ii++) {
uint64_t addr = bw_header->RegOff + DevInst.BaseAddr + ii * 4U;
printf(" 0x%x, 0x%x\n", addr, payload[ii]);
printf(" 0x%llx, 0x%x\n", addr, payload[ii]);
}
ptr += bw_header->Size;
break;
Expand Down Expand Up @@ -91,8 +91,8 @@ inline void SubmitSerializedTransaction(XAie_DevInst &DevInst,
case AMDAIE::XAie_TxnOpcode::XAIE_IO_CUSTOM_OP_DDR_PATCH: {
XAie_CustomOpHdr *hdr = (XAie_CustomOpHdr *)ptr;
patch_op_t *op = (patch_op_t *)(ptr + sizeof(*hdr));
printf("CustomOp PatchBD argidx %d\n", op->argidx);
printf("CustomOp PatchBD regaddr %x\n",
printf("CustomOp PatchBD argidx %llu\n", op->argidx);
printf("CustomOp PatchBD regaddr %llx\n",
op->regaddr + DevInst.BaseAddr);
ptr += hdr->Size;
break;
Expand Down

0 comments on commit 58e3eac

Please sign in to comment.