opencl minimization passing global_data from host to kernel stopped.allocation is being done at kernel