You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can confirm that the host code with XRT native API (https://github.com/Xilinx/Vitis-Tutorials/blob/2022.2/Getting_Started/Vitis/example/src/host.cpp) works properly with Vitis 22.2. So it's not because of I installed the platform/common image wrong. But when I use OpenCL based host code shown above, it prints out ERROR: Failed to find Xilinx platform, and this is because platform.sizes() is zero here.
I've been using the same host code in previous Vitis 22.1, 21.1 and 20.2 versions, and I didn't have this issue. Is there a quick fix for this?
EDIT: I am really sorry for the confusion. The OpenCL host code works for both ZCU102 and ZCU102_DFX platform.
The text was updated successfully, but these errors were encountered:
Tool: Vitis 22.2
Platform: Embedded zcu102 platform
XRT version: 2.14.0 (2022.2), XRT from the sysroot on the Embedded Processor platform
I recently installed Vitis 22.2 and want to use old OpenCL based host code like (https://github.com/Xilinx/Vitis-Tutorials/blob/2021.1/Getting_Started/Vitis/example/src/host.cpp).
I can confirm that the host code with XRT native API (https://github.com/Xilinx/Vitis-Tutorials/blob/2022.2/Getting_Started/Vitis/example/src/host.cpp) works properly with Vitis 22.2. So it's not because of I installed the platform/common image wrong. But when I use OpenCL based host code shown above, it prints out
ERROR: Failed to find Xilinx platform
, and this is becauseplatform.sizes()
is zero here.I've been using the same host code in previous Vitis 22.1, 21.1 and 20.2 versions, and I didn't have this issue. Is there a quick fix for this?
EDIT: I am really sorry for the confusion. The OpenCL host code works for both ZCU102 and ZCU102_DFX platform.
The text was updated successfully, but these errors were encountered: