cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
214 Views
Registered: ‎02-17-2020

Program execution stuck at clCreateProgramWithBinary

I am running an RTL kernel with 12 memory interfaces for 12 banks in HBM using the Vitis accelerated flow. Upon running the code, I find the execution is stuck during the Programing creation process. In other words, for the code below:

ashwinkrishnan1_2-1626801971521.png

It outputs the statement 'before' but not 'after'. There is no timing violations and the build process was completed successfully.

while running the  dmesg -wH command , I find the below logs:

ashwinkrishnan1_0-1626801052330.png

Not sure what it exactly means. Also, I am finding that the kernel (.xclbin) is being flashed onto the card with status (START) for the desired compute unit. Usually, I find this status as (IDLE).

ashwinkrishnan1_1-1626801494309.png

The other observation is that, once I terminate the current program and run it again, I find the below error:

ashwinkrishnan1_3-1626802210758.png

 with dmeg output:

ashwinkrishnan1_4-1626802299210.png

What could be the possible reason for such error. 

 

0 Kudos
2 Replies
yangc
Xilinx Employee
Xilinx Employee
157 Views
Registered: ‎02-27-2019

Does the example design work fine on the platform? What‘s your platform version?

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
131 Views
Registered: ‎02-17-2020

Yes , the example designs work fine.Infact, the program was initially running fine with 10 memory interfaces connected to HBM. I had later used 2 more and connected them with DDR and faced this issue. I initially suspected the cause to be some mismatch settings of the kernel parameters for DDR like data line width or parameters setting like wrong burst length. But, facing the same issue with 12 HBMs also. 

The board I use is Alveo U280 and  Vitis version 2019.2

0 Kudos