Addition of function is correct. This function will have the task of verifiying if the results provided by the GPU is correct.