My oldish PC has an Intel HD 420 in it.
I was wondering - we can use Assembly code to address the CPU directly, with commands like mul, add etc.
How can I pass on Assembly calculation commands to a graphics chip such as the Intel HD, or say the "gpu part" of AMD's Ryzen? Is it the same mechanics as for an ARM graphics chip?
(No tags for apu, onboard-graphics, intel-hd, ryzen)
Edit: I understand that OpenCL is the correct approach, and that an on-board chip is as good as any other peripheral hardware (eg printer) as far as communication. However, out of theoretical curiosity, looking for the simplest Assembly snippet, that does any sort of mundane calculation on an onboard graphics chip like an Intel HD XXX.