fix div by 0 bug: OpenCL gpu backend can't provide information about memory usage
improve OCL cleanups