KhronosGroup / OpenVX-cts

OpenVX Conformance Test Suite
Apache License 2.0
9 stars 6 forks source link

VX_CONTEXT_EXTENSIONS #13

Open ashutikhin opened 4 years ago

ashutikhin commented 4 years ago

I can't satisfy the requirements of CTS. My example doesn't work (memory access problem), but CTS has passed:

vx_size size = 0;
vx_status status = vxQueryContext(context, VX_CONTEXT_EXTENSIONS_SIZE, (void*)&size, sizeof(size));
// size == 76
assert(status == VX_SUCCESS);
vx_char ptr[10];
status = vxQueryContext(context, VX_CONTEXT_EXTENSIONS, (void*)ptr, sizeof(ptr));
assert(status == VX_SUCCESS);

It seems that CTS has wrong logic for checking the size of extensions name.