AR# 72346

|

2019.1 SDAccel - ERROR: Buffer is allocated in wrong memory bank

描述

When running my design in SDAccel, I see the following errors:

Loading: 'x.xclbin'ERROR: std::bad_allocSegmentation fault (core dumped)

ERROR: Buffer is allocated in wrong memory bank
ERROR: Kernel arg 'x' is not set
ERROR: buffer (2) is not resident in device (0)

解决方案

In 2018.3 and prior releases, if the buffer could not be allocated on the designated bank, XRT would try to allocate a random buffer for the application.

Starting in 2019.1, if the buffer cannot be allocated on the designated bank, it will return an error. If the xclbin does not contain proper connectivity information, then some applications might fail.

Please check kernel connections to global memory in the .xclbin and modify the host code to use clSetKernelArg before any enqueue operation on the buffer.

AR# 72346
日期 05/29/2019
状态 Active
Type 综合文章
Tools
People Also Viewed