We study what and to what extent the power consumption of computer systems is influenced by execution of different programs written in OpenCL programming language. Previous and current trends, that are developing in this field are described. Some identified factors are: running time, number of working groups, number of running kernels and use of local memory. OpenCL programming language and its uses are described. The thesis describes, how do we measure electrical energy in general and what equipment is being used. The computer system on which power measurements were performed is also introduced. Problems related to hardware, equipment and software, that we can encounter, and their solutions are presented as well.