removed unnecessary data copying
fixed warning [ -Wreorder ]
Merge pull request #2066 from ilya-lavrenov:tapi_ocl