Skip to content

Commit

Permalink
Made aie resources 0 for hw_gen greater than 1
Browse files Browse the repository at this point in the history
Signed-off-by: bisingha <[email protected]>
  • Loading branch information
bisingha-xilinx committed Nov 27, 2024
1 parent dc1eea8 commit 6464579
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/runtime_src/core/edge/drm/zocl/edge/zocl_aie.c
Original file line number Diff line number Diff line change
Expand Up @@ -524,12 +524,12 @@ zocl_create_aie(struct drm_zocl_slot *slot, struct axlf *axlf, char __user *xclb
}
}

/* TODO figure out the partition id and uid from xclbin or PDI */
/* TODO figure out the uid from xclbin or PDI */
req.partition_id = partition_id;
req.uid = 0;
req.meta_data = 0;

if (aie_res)
if (hw_gen == 1)
req.meta_data = (u64)aie_res;

if (slot->aie->aie_dev) {
Expand Down

0 comments on commit 6464579

Please sign in to comment.