title: What is the most direct way of addressing a graphics chip?
body: <p>My oldish PC has an Intel HD 420 in it.</p>
  <p>I was wondering - we can use Assembly code to address the CPU directly, with commands like <code>mul</code>, <code>add</code> etc.</p>
  <p>How can I pass on Assembly calculation commands to a graphics chip such as the Intel HD, or say the &quot;gpu part&quot; of AMD's Ryzen? Is it the same mechanics as for an ARM graphics chip?</p>
  <p>(No tags for apu, onboard-graphics, intel-hd, ryzen)</p>
  <p>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.</p>