One thing I can spot is issue when you use malloc. You need to always cast the pointer returned by malloc to the appropriate pointer to the data type you want to store. Therefore you should have something like the following (parts you are missing are highlighted in bold, underlined);
inputMatrix1 = (cl_float*) malloc(sizeof(cl_float)*width*height);
inputMatrix2 = (cl_float*) malloc(sizeof(cl_float)*width*height);
results = (cl_float*) malloc(sizeof(cl_float)*width*height);
Same applies to every line in which you have used malloc.