Min Max Changes to OpenCL & TBB