From d8e340d2fef39c78a9afda93b210a8640145df87 Mon Sep 17 00:00:00 2001 From: Manuel Bottini Date: Tue, 13 Nov 2018 14:52:42 +0000 Subject: COMPMID-1638: Add BBoxTransform to the graph API (3RDPARTY_UPDATE) Change-Id: Ie13a9eb6d417388b5de533bffa895796d9d2cf62 --- 3rdparty | 2 +- src/core/CL/cl_kernels/bounding_box_transform.cl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/3rdparty b/3rdparty index 106597dd85..d3f7f2a41c 160000 --- a/3rdparty +++ b/3rdparty @@ -1 +1 @@ -Subproject commit 106597dd85e24bb98b0ca59777e018d1627a653e +Subproject commit d3f7f2a41cd41c8026b483dae9ed64c03b61a824 diff --git a/src/core/CL/cl_kernels/bounding_box_transform.cl b/src/core/CL/cl_kernels/bounding_box_transform.cl index a62635e052..d33018847e 100644 --- a/src/core/CL/cl_kernels/bounding_box_transform.cl +++ b/src/core/CL/cl_kernels/bounding_box_transform.cl @@ -108,7 +108,7 @@ __kernel void bounding_box_transform( pred_box = pred_ctr.s0101 + sign * halfone * pred_dims.s0101; pred_box = CLAMP(pred_box, min_values, max_values); #ifdef SCALE // Possibly scale the predicted boxes - pred_box *= SCALE; + pred_box *= (VEC_DATA_TYPE(DATA_TYPE, 4))SCALE; #endif // Possibly scale the predicted boxes // Store them into the output -- cgit v1.2.1