vx_scalar values can be accessed by vxCopyScalarWithSize(...) only.
Either vxWriteScalarValue(...) and vxReadScalarValue(...) does not work with these scalar since they will access the union memory of the struct instead of the data_addr pointer.
Hence, the users have to trace the variables to select the compatible apis even though they are all vx_scalars.
Hi,
vx_scalar values can be accessed by vxCopyScalarWithSize(...) only.
Either vxWriteScalarValue(...) and vxReadScalarValue(...) does not work with these scalar since they will access the union memory of the struct instead of the data_addr pointer.
Hence, the users have to trace the variables to select the compatible apis even though they are all vx_scalars.
Was this designed in purpose? Thanks!!