using opencl as private framework for building opencv

I am currently using GPUImage on iOS and would like to replace it with UMat in OpenCV 3.0. This is an example, for using OpenCL as private framework in iOS. Is it possible to custom build OpenCV 3.0 with OpenCL as private framework ( ignoring AppStore ) so that, in iOS, function calls with UMat results in offloading to GPU ? If yes, will the changes be limited to build_framework.py and CMakefiles only ?