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
已提问 4 年前238 查看次数
1 回答
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
已回答 4 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则