Skip to content

python support for full-elf format #9557

Description

@keosu

Does the python API support full-elf format?

It's a simple c++ code snippet, but when I try to use python, I found that Python bindings for xrt::hw_context missing advanced constructor and add_config method. Do we support this now or is there a simple python example for this?

    xrt::elf add_elf("a_simple_add.elf");
    xrt::device device = xrt::device(0);
    xrt::hw_context context = xrt::hw_context(device, xrt::hw_context::cfg_param_type{},
                                              xrt::hw_context::access_mode::shared);
    context.add_config(add_elf);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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