QIR Runtime Initialization, Finalization, and EntryPoint Handling Specification Updates #11
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
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
andargv
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 theentrypoint at executable start-up.
The text was updated successfully, but these errors were encountered: