Skip to content

Conversation

@rajkumar-xilinx
Copy link
Contributor

Add error_index tracking in ve2_hwctx.c to identify which subcommand failed in a command chain.
In timeout case Set error_index to 0, and in Error case traverse chain slots to find failing command and set its index.
It enables XRT core to properly handle subcommand failures in command chains.

Add error_index tracking in ve2_hwctx.c to identify which subcommand failed in a command chain.

- Timeout: Set error_index to 0
- Error: Traverse chain slots to find failing command and set its index

This matches the aie2 driver behavior and enables XRT core to properly
handle subcommand failures in command chains.

Signed-off-by: Raj Kumar Rampelli <raj.kumar.rampelli@amd.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant