Skip to content

[CONV] Pass the device and target info from the command line. - #24

Open
pashu123 wants to merge 2 commits into
nod-ai:mainfrom
pashu123:pass_dev
Open

[CONV] Pass the device and target info from the command line.#24
pashu123 wants to merge 2 commits into
nod-ai:mainfrom
pashu123:pass_dev

Conversation

@pashu123

Copy link
Copy Markdown

The device and target info was hardcoded and now can be passed via command line to the compile command.

@pashu123
pashu123 requested a review from kuhar October 17, 2024 13:32
@pashu123

Copy link
Copy Markdown
Author

@kuhar Which Python formatter to use? I am unable to find the info.

@kuhar

kuhar commented Oct 17, 2024

Copy link
Copy Markdown
Member

I don't think we enforce any automatic formatting. If you want to format this, I'd submit a separate 'cleanup' PR and then land this on top of it. We can use black like in the other repos.

@pashu123

Copy link
Copy Markdown
Author

I don't think we enforce any automatic formatting. If you want to format this, I'd submit a separate 'cleanup' PR and then land this on top of it. We can use black like in the other repos.

Done.

Prashant Kumar added 2 commits October 17, 2024 20:02
Black format with default option, i.e., black file_name.py.

Signed-off-by: Prashant Kumar <pk5561@gmail.com>
The device and target info was hardcoded and now can be passed
viacommand line to the compile command. Also, black formatted the files.

Signed-off-by: Prashant Kumar <pk5561@gmail.com>
@pashu123
pashu123 force-pushed the pass_dev branch 2 times, most recently from d44d9e3 to 3181239 Compare October 17, 2024 14:36

@kuhar kuhar left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please open a separate PR for the formatting changes

@andfau-amd andfau-amd mentioned this pull request Apr 23, 2025
8 tasks
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.

2 participants