mn416 / QPULib

Language and compiler for the Raspberry Pi GPU
Other
429 stars 64 forks source link

Request: allow QPU+emulation mode compilation #44

Open wimrijnders opened 6 years ago

wimrijnders commented 6 years ago

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:

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

mn416 commented 6 years ago

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 commented 6 years ago

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.