the begin of the rewriting of opencl.c by using a new error function instead of if/switch