• Alexander Alekhin's avatar
    ocl: validate arguments in KernelArgs constructor · 4c7aa864
    Alexander Alekhin authored
    - don't use undefined flag=0. It should be CONSTANT instead.
    - don't allow 'UMat* m=NULL' argument (except LOCAL/CONSTANT flags).
      This case is not handled well to provide NULL __global pointers.
      It is better to use '-D' macro defines instead (at least for performance)
    4c7aa864
Name
Last commit
Last update
..
doc Loading commit data...
include/opencv2 Loading commit data...
misc/java Loading commit data...
perf Loading commit data...
src Loading commit data...
test Loading commit data...
CMakeLists.txt Loading commit data...