fix gpu HOG implementation:
authorVladislav Vinogradov <vlad.vinogradov@itseez.com>
Fri, 27 Feb 2015 11:28:12 +0000 (14:28 +0300)
committerVladislav Vinogradov <vlad.vinogradov@itseez.com>
Fri, 27 Feb 2015 11:28:12 +0000 (14:28 +0300)
commit21bbed7bafd25114ff15d8012f3f8619d258d0c1
tree70726549ce2ed62e131ad8bde5252ebf1d05afcc
parent2c9547e3147779001811d01936aed38f560929fc
fix gpu HOG implementation:

move hog::set_up_constants from constructor to compute method

if user changed CUDA device between constructor and computation,
some variables were uninitialized
modules/gpu/src/hog.cpp