Skip to content

Enhance the --help message of composite target#13842

Merged
lhutton1 merged 2 commits intoapache:mainfrom
MNGanesan:enhance_help_msg
Jan 25, 2023
Merged

Enhance the --help message of composite target#13842
lhutton1 merged 2 commits intoapache:mainfrom
MNGanesan:enhance_help_msg

Conversation

@MNGanesan
Copy link
Copy Markdown
Contributor

Presently --help for vitis displays the target and option string,
it has no description. Eg: target vitis-ai dpu<class 'str'>

This can be made more meaningful by fetching the description from the config node of the target. Eg: Vitis AI DPU identifier

Here, adding test cases to verify the fix

Signed-off-by: MNGanesan mnganesan@yahoo.co.uk

Presently --help for vitis displays the target and option string,
it has no description.  Eg:  target vitis-ai dpu<class 'str'>

This can be made more meaningful by fetching the description from
the config node of the target.  Eg: Vitis AI DPU identifier

Here, adding test cases to verify the fix
Signed-off-by: MNGanesan <mnganesan@yahoo.co.uk>
@tvm-bot
Copy link
Copy Markdown
Collaborator

tvm-bot commented Jan 25, 2023

Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment.

  • No users to auto-tag found, no teams are specified in PR title See #10317 for details

Generated by tvm-bot

Comment thread tests/python/driver/tvmc/test_target_options.py
Signed-off-by: MNGanesan <mnganesan@yahoo.co.uk>
Copy link
Copy Markdown
Contributor

@lhutton1 lhutton1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution @MNGanesan :)

@lhutton1 lhutton1 merged commit 26d3244 into apache:main Jan 25, 2023
@MNGanesan
Copy link
Copy Markdown
Contributor Author

MNGanesan commented Jan 25, 2023 via email

fzi-peccia pushed a commit to fzi-peccia/tvm that referenced this pull request Mar 27, 2023
Presently --help for vitis displays the target and option string,
it has no description.  Eg:  target vitis-ai dpu<class 'str'>

This can be made more meaningful by fetching the description from
the config node of the target.  Eg: Vitis AI DPU identifier

Signed-off-by: MNGanesan <mnganesan@yahoo.co.uk>
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.

3 participants