Jak możesz sobie wyobrazić, architektura sprzętowa procesorów graficznych może się znacznie różnić. Istnieją różni producenci, a nawet różne generacje procesorów graficznych tego samego producenta mogą nie być porównywalne. Jednocześnie producenci procesorów graficznych zwykle nie ujawniają publicznie wszystkich szczegółów sprzętowych swoich produktów. Jedną z konsekwencji tego jest konieczność używania własnościowych sterowników pod Linuksem, jeśli chcesz w pełni wykorzystać swoją kartę graficzną.
Fortunately an industry consortium lead by The Khronos Group has developed an open, standardized interface called OpenCL, which allows your GPU to be used as a numerical processing device. OpenCL offers a C99-like programming language with a strong focus on parallel computing. An application that wants to use OpenCL will need OpenCL source code that it hands over to a hardware-specific compiler at run-time. This way applications can use OpenCL on different GPU architectures (even at the same time). All of the hardware “secrets” are hidden in this compiler and are normally not visible to the user (or the application). The compiled OpenCL code is loaded onto your GPU and – with certain API calls – it is ready to perform calculations for you.