Convert stencil to use a control file for OpenCL