fix GpuMat::setTo implementation
authorVladislav Vinogradov <vlad.vinogradov@itseez.com>
Fri, 27 Feb 2015 13:28:06 +0000 (16:28 +0300)
committerAlexander Smorkalov <alexander.smorkalov@itseez.com>
Sun, 19 Apr 2015 10:57:23 +0000 (13:57 +0300)
commitb320138dba51a49b8a48a12e9b8b04747eb1e890
tree38be5bc863311fc559b1962347c82561858c4b7b
parent95ea12588e0d9a5157c5d4d86e26fb31653fd0be
fix GpuMat::setTo implementation

previous implementation was not thread/stream safe, since it used constant
memory

new implementation doesn't use any global objects, so it is thread/stream safe
(cherry picked from commit 4f5d30a865bd45f144cc70aed1057ac500a72e0c)
modules/dynamicuda/src/cuda/matrix_operations.cu