how does opengl which is written in C and C++ manages to write code for the G.P.U., when the functions for C and C++ are written for the C.P.U.
For example whats the step to step process of cpu to gpu communication.
I know the gpu connects to the PCI express which connects to the motherboard and the motherboard connects to the cpu. yet unless there's a bios interrupt which sends data to the gpu, or a memory address to send instructions to I don't understand how they can write code for the gpu, without a gpu assembly compiler?