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
gefragt vor 4 Jahren238 Aufrufe
1 Antwort
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
beantwortet vor 4 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen