When I used host CPP and AFI, I reported an error while executing host cpp.

0

I’m using AMI/1.8.1. And I use vu9p and vitis to generate the xclbin file.
When I used host CPP and AFI, I reported an error while executing host cpp.
It prompt:“[XRT] ERROR: No devices found. Error: Failed to find an OpenCL platform! Test failed”. But I have source /opt/xilinx/xrt/setup.sh before executing host cp.
Then , When I use “xbutil dmatest” according ug1393, it prompt: ”INFO: Found total 1 cards, 0 are usable” “ERROR: Card index 0 is out of range. ”
So the device or driver have error? I need to terminate the instance, then reinstall the AMI?

zqsteve
asked 4 years ago230 views
1 Answer
0

Hi zqsteve,

XRT requires that the mpd service is started on the instance. mpd is not started by default on F1.

We include a script on our repository called: vitis_runtime_setup.sh that sets up mpd for first time use. We have documented it here: https://github.com/aws/aws-fpga/blob/master/Vitis/docs/XRT_installation_instructions.md#mpd

Would you be able to retry by following the runtime setup steps listed here?: https://github.com/aws/aws-fpga/blob/master/Vitis/README.md#runonf1

Thanks,

Deep

Deep_P
answered 4 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions