Lightweight binary convolutional deep belief network in OpenCL