Skip to content

[runner] Target-dependent system configuration#227

Open
adam-smnk wants to merge 2 commits into
llvm:mainfrom
adam-smnk:runner-enable-amx
Open

[runner] Target-dependent system configuration#227
adam-smnk wants to merge 2 commits into
llvm:mainfrom
adam-smnk:runner-enable-amx

Conversation

@adam-smnk

Copy link
Copy Markdown
Member

Adds target information to the runner to allow automatic configuration of AMX registers when these are available on the current system.

Adds target information to the runner to allow automatic configuration
of AMX registers when these are available on the current system.
@adam-smnk adam-smnk requested a review from rengolin July 13, 2026 13:33
Comment thread lighthouse/execution/runner.py

target_info = TargetInfo(args.target, args.feature)
target_info = TargetInfo(
args.target, args.feature.split(",") if args.feature else None

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.

could we perhaps add if isinstance(feature, str): feature.split(",") in TargetInfo?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Played with it a bit but it's hard to predict in what format arbitrary string might come.
It's better to leave string reformatting to caller of the constructor.

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