datastart must be non-const in CUDA.
Fixed buffer initialization in reduce kernel. Enabled OCL version of reduce for SUM, MAX, MIN modes.
Several type of formal refactoring:
1. someMatrix.data -> someMatrix.prt()
2. someMatrix.data + someMatrix.step * lineIndex -> someMatrix.ptr( lineIndex )
3. (SomeType*) someMatrix.data -> someMatrix.ptr<SomeType>()
4. someMatrix.data -> !someMatrix.empty() ( or !someMatrix.data -> someMatrix.empty() ) in logical expressions
fix for gcc
fixed build of iOS framework another time; clang does not like the new NEON-optimized split/merge
Merge pull request #3089 from Adil-Ibragimov:fix_cuda_constness
Merge pull request #3094 from Adil-Ibragimov:minor_fixes_in_Mat-data
Merge pull request #3097 from mshabunin:gdal-support
avoid compiler warnings
another mac-related fix, let's squeeze it in this PR too
Merge pull request #3100 from vpisarev:disabled_neon_split_merge_on_ios
Merge pull request #3090 from akarsakov:ocl_reduce_fix