mn416 / QPULib

Language and compiler for the Raspberry Pi GPU
Other
430 stars 63 forks source link

Support explicit VPM and DMA #54

Closed mn416 closed 6 years ago

mn416 commented 6 years ago

Backwards compatible, implicit VPM and DMA are still possible using the dereferencing and store operators, which compile down do code that uses rows 0-31 of the VPM.

See Examples/DMA.cpp for an example of explicit VPM and DMA. If you don't use the dereferencing or store operators, then you may use the whole of the VPM, otherwise avoid rows 0-31.

Documentation still needed, so too is a more interesting example.