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

Request: allow QPU+emulation mode compilation #44

Open
wimrijnders opened this issue Jul 1, 2018 · 2 comments
Open

Request: allow QPU+emulation mode compilation #44

wimrijnders opened this issue Jul 1, 2018 · 2 comments

Comments

@wimrijnders
Copy link
Contributor

The current makefile is setup up to either compile in QPU mode or in EMULATION mode. This this handled by the make parameter QPU=1.

I understand from the code and docs that it is possible to compile the two modes together. I would like to have this option available. I therefore request to replace parameter QPU=1 with the following:

  • No 'mode' parameter defaults to emulation, as now
  • mode=QPU for QPU mode
  • mode=EMULATION for emulation mode
  • mode=DUAL (or perhaps mode=BOTH) for the two modes combined

I would like to hear your thoughts on this. As before, I'm only too happy to implement this myself.

@mn416
Copy link
Owner

mn416 commented Jul 3, 2018

Hi @wimrijnders,

I don't remember why there isn't already support for simultaneous QPU mode and EMULATION mode. Maybe there is a good reason, maybe not.

@wimrijnders
Copy link
Contributor Author

Looking at the code, I see absolutely no reason why it shouldn't work.
OK to add it in the way I describe above? If it doesn't work I'll revert it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants