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

Quantum JIT Cache Manager #126

Open
amccaskey opened this issue Apr 27, 2021 · 3 comments
Open

Quantum JIT Cache Manager #126

amccaskey opened this issue Apr 27, 2021 · 3 comments
Assignees
Labels
unitaryhack Issues tagged for the unitaryHACK bounties

Comments

@amccaskey
Copy link
Collaborator

We should update the way we cache JIT compiled quantum kernel LLVM Modules, and use instead a smarter JIT Manager type that will keep track of the cache memory size, throw away old cache files, etc.

@amccaskey amccaskey added the unitaryhack Issues tagged for the unitaryHACK bounties label Apr 27, 2021
@amccaskey amccaskey self-assigned this Apr 27, 2021
@anushkrishnav
Copy link

I would like to work in this can you assign me the issue and if possible please do share some guidance and where I can start

@amccaskey
Copy link
Collaborator Author

Hey @anushkrishnav, thanks for you help on this!

For this, please check out runtime/jit/qcor_jit.*. In the cpp file, we define the constructor and destructor for the QJIT class, and this is where we load the qjit cache (constructor) and persist it (destructor). It would be great to elaborate on this more with some new type that keeps track of cache memory size, and keeps the cache below a certain value.

@anushkrishnav
Copy link

Sounds intresting I will explore more and send a PR with some started changes for review and go on from there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
unitaryhack Issues tagged for the unitaryHACK bounties
Projects
None yet
Development

No branches or pull requests

2 participants