Skip to content

Documentation of Python bindings #9581

@z4m1n0

Description

@z4m1n0

Hello all,

I'm looking for documentation on the XRT Python API bindings.

I am currently working on a class with an hands-on approach that covers XDNA NPUs. Therefore, the students have to use XRT to launch kernels on the NPU. My current XRT setup uses the C++ bindings. However, to keep things simple for the students, I would like to use Python wherever possible. The documentation (1, 2) states that XRT provides a Python API. However, the pyxrt page is empty. Am I missing something?

I think I can rewrite my setup in Python by reading the pybind11 implementation and looking at example code, but that is not an option for the bachelor's degree students who are new to this topic. Are there any further resources available for the XRT Python API?

Best, Tamino

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