openCL host code for minimization created