Skip to content

Commit

Permalink
VITIS-13605: Introduce user task ID parameter to aie-partition info q…
Browse files Browse the repository at this point in the history
…uery

Added a user task ID parameter to the AIE-partition info query. This
enhancement will be used by xrt-smi to map a context ID to a user task ID while
parsing the NPU telemetry buffer.

Signed-off-by: Nishad Saraf <[email protected]>
  • Loading branch information
NishadSaraf committed Nov 15, 2024
1 parent 5a8dd2c commit 0455a83
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/runtime_src/core/common/query_requests.h
Original file line number Diff line number Diff line change
Expand Up @@ -1159,11 +1159,11 @@ struct hw_context_info : request
* A structure to represent a single hardware context on any device type. This
* structure must contain all data that makes up a hardware context across
* all device types.
*
*
* The only field that must be populated is the xclbin uuid.
* All other fields can be populated as required by the appropriate device.
* As new compute types are created they must be accounted for here
*
*
* For example:
* Alveo -> populate only the PL compute units
* Versal -> populate PL and PS compute units
Expand All @@ -1189,7 +1189,7 @@ struct hw_context_memory_info : request
{
/**
* A structure to represent a single hardware context's memory contents on
* any device type. This structure contains all data that makes up a
* any device type. This structure contains all data that makes up a
* hardware context memory structure across all device types.
*/
struct data {
Expand Down Expand Up @@ -1768,6 +1768,7 @@ struct aie_partition_info : request
uint64_t start_col;
uint64_t num_cols;
int pid;
uint32_t user_tid;
bool is_suspended;
uint64_t instruction_mem;
uint64_t command_submissions;
Expand Down

0 comments on commit 0455a83

Please sign in to comment.