I am working on a project on Xilinx Vitis that I created a arrayA
with
std::vector<uint8_t,aligned_allocator<uint8_t>> arrayA(size);
Then I have filled it with some random values.
I need to pass it to a kernel that accepts ( ap_uint<128>* arrayA)
How do I link these properly?
I have tried creating a
ap_uint<128>* temp_A = arrayA.data()
But it also gives me an error.
When I run the code it gives me an unaligned host allocator warning for XRT XILINX
Vitis
How can I solve this issue?
Edit: uint8_t is unsigned char