Skip to content

Bug when running examples #26

@Brandonyfyang

Description

@Brandonyfyang

The following problem occurred when running the relevant example project of cynq:
ubuntu@kria:~/cynq$ sudo ./builddir/examples/matrix-multiplication-kria
[sudo] password for ubuntu:
----- Initialising platform -----
terminate called after throwing an instance of 'std::runtime_error'
what(): Could not open device with index '0'
Aborted
When I used the command xbutil examine to check the XRT device, the output result was as follows:
System Configuration
OS Name : Linux
Release : 5.15.0-1060-xilinx-zynqmp
Version : #64-Ubuntu SMP Fri Oct 24 02:34:51 UTC 2025
Machine : aarch64
CPU Cores : 4
Memory : 3910 MB
Distribution : Ubuntu 22.04.5 LTS
GLIBC : 2.35
Model : ZynqMP KV260 revB
XRT
Version : 2.13.0
Branch :
Hash :
Hash Date : 2022-09-15 17:01:20
ZOCL : 2.13.0,
Devices present
0 devices found
BDF : Shell Platform UUID Device ID Device Ready*

  • Devices that are not ready will have reduced functionality when using XRT tools
    How should I solve problems like this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions