]> rtime.felk.cvut.cz Git - hercules2020/kcf.git/commit
Convert ComplexMat to use DynMem class
authorMichal Sojka <michal.sojka@cvut.cz>
Sun, 30 Sep 2018 22:48:56 +0000 (00:48 +0200)
committerMichal Sojka <michal.sojka@cvut.cz>
Sun, 30 Sep 2018 23:02:40 +0000 (01:02 +0200)
commit02c1cdbc69bbfcc13e178e586a9ff04e99f211d4
treee036bef2d54fbb2d99d47ac458ece040ed3f0712
parentc7d3c022852de6ef7df139021d1610e7f5f9d921
Convert ComplexMat to use DynMem class

This is the first step to unification of CPU and GPU implementations.

It also fixes a incorrect dimensions of ComplexMats in
Gaussian_Correlation, which was unnoticed, because the matrices were
reallocated on the fly. Now, we use assertions in DynMem, which
prevents this. Ideally, we don't want any allocation during ComplexMat
computations, but we're not there yet.
src/complexmat.hpp
src/dynmem.hpp
src/kcf.cpp
src/kcf.h
src/threadctx.hpp