Skip to content

vx_scalar that is created by vxCreateScalarWithSize cannot be read #48

@lses40311

Description

@lses40311

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!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions