rgiduthuri/openvx_tutorial

openvx_sample mistake

Closed this issue · 0 comments

I run the script "download-khronos-sample.sh", and then it downloaded the openvx_sample_1.1 source codes,but I find a mistake.
In the file "openvx_sample/sample/framework/vx_osal.c", line 438:

pool_worker->queue = ownCreateQueue();

but the prototpye of function is:
vx_queue_t *ownCreateQueue(vx_uint32 numItems, vx_size itemSize) { vx_queue_t *q = VX_CALLOC(vx_queue_t); if (q) ownInitQueue(q); return q; }

Even the parameters are unused, compile will not success.