Remove mallocs and frees from the kernels

Signed-off-by: Davide Sapienza <sapienza.dav@gmail.com>
This commit is contained in:
Davide Sapienza
2020-02-07 14:50:05 +01:00
parent da24c2e752
commit 17a083ae28
4 changed files with 22 additions and 21 deletions
+3 -1
View File
@@ -75,7 +75,9 @@ class CenternetDetection {
int K = 100;
int width = 128;//56; // TODO
// pointer used in the kernels
float *src_out;
int *ids_out;
public:
dnnType *rt_out[4];