Skip to content

sw_emu "No such device with index '0'" on gemm_small.py example #101

@adhowe3

Description

@adhowe3

Issue

I am getting errors on my own project when running the sw_emu. I wanted to see if an example would have the same issues. It turns out that the gemm_small.py gets the same error. I am not sure what is going on here. Maybe it is a Vitis issue unrelated to Aries.

sw_emu

I did the following after sourcing the proper Vitis and Aries scripts:

python3 gemm_small.py
cd my_project && make all
cd project && make all TARGET=sw_emu

(I already adjusted the Makefile template to use the my path for EDGE_COMMON_SW_PATH, so I do not need to set that when making all)
Then I do this:

make run_emu TARGET=sw_emu

and I get this output:

export XCL_EMULATION_MODE=sw_emu 
./host_ps_on_x86 vck190_aie_base_graph_sw_emu.xclbin 0 1
terminate called after throwing an instance of 'std::runtime_error'
  what():   No such device with index '0'
make: *** [Makefile:193: run_emu] Aborted (core dumped)

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