Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QIR Runtime Initialization, Finalization, and EntryPoint Handling Specification Updates #11

Open
amccaskey opened this issue Apr 21, 2022 · 3 comments
Assignees
Labels
approved Approved in principle by the QIR Alliance steering committee in-progress The work is under active development workstream Official workstream of the QIR Alliance

Comments

@amccaskey
Copy link

This Issue is to track all discussions and updates related to the approved runtime initialization, finalization, and entrypoint handling workstream.

QIR implementation libraries provided at link time may need to rely on library start-up and finalization routines in order to properly configure and tear-down an underlying simulation and / or remote job submission infrastructure. QIR for native code-generation or as an exchange format with control systems may also require some notion of start-up, initialization, and tear-down.

Runtime initialization raises the question of how QIR lowering strategies should specify entry point functions and corresponding input data provided at runtime. For runtime library linking, the notion of input argc and argv can be a valuable asset to designing dynamic and flexible QIR runtimes. For QIR as a format for backend submission, the specification needs to carefully define what an entrypoint function is and how packaged runtime arguments (command line or otherwise) can be injected into the
entrypoint at executable start-up.

@amccaskey amccaskey added workstream Official workstream of the QIR Alliance approved Approved in principle by the QIR Alliance steering committee labels Apr 21, 2022
@amccaskey amccaskey self-assigned this Apr 21, 2022
@amccaskey amccaskey removed workstream Official workstream of the QIR Alliance approved Approved in principle by the QIR Alliance steering committee labels Apr 21, 2022
@bettinaheim bettinaheim added workstream Official workstream of the QIR Alliance approved Approved in principle by the QIR Alliance steering committee labels Jun 15, 2022
@bettinaheim
Copy link
Member

bettinaheim commented Jun 15, 2022

The workstream definition can be found here

@k4rtik
Copy link
Contributor

k4rtik commented Jun 15, 2022

@bettinaheim shouldn't the link be https://github.com/qir-alliance/.github/blob/main/workstreams/Runtime_Init_Finalize_EntryPoint_Workstream.md on the QIR Alliance repo instead of on the fork?

@bettinaheim
Copy link
Member

@bettinaheim shouldn't the link be https://github.com/qir-alliance/.github/blob/main/workstreams/Runtime_Init_Finalize_EntryPoint_Workstream.md on the QIR Alliance repo instead of on the fork?

Yes, it should be. Thank you! Edited.

@bettinaheim bettinaheim added the in-progress The work is under active development label Jul 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Approved in principle by the QIR Alliance steering committee in-progress The work is under active development workstream Official workstream of the QIR Alliance
Projects
None yet
Development

No branches or pull requests

3 participants