Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: Failed to find Xilinx platform in 22.2 version #7636

Closed
dj-park opened this issue Jul 21, 2023 · 0 comments
Closed

ERROR: Failed to find Xilinx platform in 22.2 version #7636

dj-park opened this issue Jul 21, 2023 · 0 comments

Comments

@dj-park
Copy link

dj-park commented Jul 21, 2023

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 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.

@dj-park dj-park closed this as completed Jul 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant