CTU-IIG / kcf

Kernelized Correlation Filter tracker
13 stars 6 forks source link

Get rid of cudaHostAlloc() calls in ComplexMat calculations #39

Closed wentasah closed 5 years ago

wentasah commented 6 years ago

When calculating with ComplexMat, temporary results are stored in temporarily allocated memory. This significantly degrades performance, because allocating page-locked memory is implicit GPU-CPU synchronization point.

wentasah commented 6 years ago

Perhaps, we should implement a memory manager that will allow reusing previously allocated memory, which is no longer needed.

wentasah commented 5 years ago

This is implemented in 93502b823a0d73c5dd36f31261d4dd377ad09e08.