Remove pre_invalid parameter
Join kernel code for int and float destination types
Small refactoring
Fix pointer conversion
Merge pull request #2871 from vbystricky:oclopt_integral