NVIDIA / NVIDIA/cuda-quantum

Discussion about pipelines and where/how build them.

Open
#340 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

stale-notified
Dominant language
C++
Stars
1.1k
Forks
456
Avg merge
1d 22h
Merged PRs (30d)
165

Description

To unblock #321, I'm transferring the discussion about passes and pipelines here. My point is that we have already identified a need to improve how we handle/build pipelines.

Eric's (@schweitzpgi ) comment about it:

We could certainly make more/better use of prefabbed named pass pipelines. Certain collections of passes should be run together in certain orders.

The driver is the right place to build pipelines in general. That's a central "reason to exist" for a driver, which translates the combinatorics of command-line options into compiler actions. The runtime needs to assemble a pipeline as well because of late compilation, supporting Python, etc. Still using named pipelines and maybe a common "config" file could get us closer to a SPOT ideal. The early and late compilation steps aren't going to be completely identical because they're serving different purposes.

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 by reading issue #321 and this discussion, then inspect the driver and runtime areas that assemble early and late compilation pipelines. No files or tests are named, so first establish the existing pipeline-building entry points and how Python and late compilation differ. Done requires an agreed design for named pipelines and any shared configuration, not just a local edit.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
backend, compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.