Please create `oclMat` instead of `InputArray`, etherwise it will upload data cpu -> gpu on every call!