try to reduce number of created OpenCL objects