Implement blockwise histogram computation in OpenCL.