Used CL_MAP_WRITE_INVALIDATE_REGION only when cl12[dev] == true