cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
doonny
Adventurer
Adventurer
231 Views
Registered: ‎07-28-2013

Can not find platform (cl::Platform::get(&platforms), error code is: -1001)

I have created a custom platform for the zc706 board by following the instruction of https://github.com/Xilinx/Vitis-In-Depth-Tutorial/tree/master/Vitis_Platform_Creation.

The board can successfully boot up, and the xbutil query command seems  fine:

```

------------------------------------------------
INFO: Found total 1 card(s), 1 are usable
~~~~~~~~~~~~~~~~~~~~~~~~~~[drm] Pid 522 opened device
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
System Configuration
OS name: L[drm] Pid 522 closed device
inux
Release: 5.4.0-xilinx-v2020.1
Version: #1 SMP PREEMPT Tue Jan 12 03:40:32 UTC 2021
Machine: armv7l
Glibc: 2.30
Distribution: N/A
Now: Tue Jan 12 05:00:11 2021
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
XRT Information
Version: 2.6.0
Git Hash: 2d6bfe4ce91051d4e5b499d38fc493586dd4859a
Git Branch: 2020.1
Build Date: 2021-01-12 03:56:47
ZOCL: 2018.2.1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Shell FPGA IDCode
edge N/A N/A
Vendor Device SubDevice SubVendor
0x10ee N/A N/A N/A
DDR size DDR count Clock0 Clock1 Clock2
0 Byte 1 100 0 0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Memory Status
Tag Type Temp(C) Size Mem Usage BO count
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streams
Tag Flow ID Route ID Status Total (B/#) Pending (B/#)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Xclbin UUID
(null)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compute Unit Status
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
INFO: xbutil query succeeded.

```

but when I execute the acceleration app, the follows error shows up:

```../../common/xcl2.cpp:50 Error calling err = cl::Platform::get(&platforms), error code is: -1001
ERROR: host run failed, RC=1
INFO: host run completed.

```

```

root@zc706_custom_plnx:/mnt/sd-mmcblk0p1# lsmod
Module Size Used by
zocl 81920 0
uio_pdrv_genirq 16384 0

``

what does the code -1001 suggests ?

 

0 Kudos
0 Replies