PennyLaneAI / PennyLaneAI/catalyst

[MLIR] Re-enable multithreaded compilation in MLIR

Open
#466 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
234
Forks
84
Avg merge
2d 15h
Merged PRs (30d)
66

Description

This is a trivial change. Instead of having a call to ctx.disableMultiThreading() call ctx.enableMultiThreading(). To close this ticket, we should also clean up the printing infrastructure. At the very least, CatalystIRPrinterConfig's definition should be deleted as it is no longer used. Please also delete the comment. The way printing is done has changed and the comment is outdated.

https://github.com/PennyLaneAI/catalyst/blob/c559403ed836c4d20564712430dc751af77f9724/mlir/lib/Driver/CompilerDriver.cpp#L409-L411

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in mlir/lib/Driver/CompilerDriver.cpp at the referenced call to ctx.disableMultiThreading(). Remove the unused CatalystIRPrinterConfig definition and its outdated comment, then verify that multithreaded compilation is enabled and the printing infrastructure still builds successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.