Implementation of a perceptron in OpenCL