hello everyone, when deploying the object recognition application on the intel Arria 10 soc card,
I had to create the bitstream file for my card with the offline compiler, and then you did not include the make I use a make that I found in the intels examples.
when running the application on the map I get warnings about data alignment transfer from the host part to the FPGA part.
I saw in some forum that I can use the function posix_memalign, and looking in the project folders, I found the data alignment function of the host part:
`//////////////////////////////////////////
// Host allocation functions for alignment
//////////////////////////////////////////
// This is the minimum alignment requirement to ensure DMA can be used.
const unsigned AOCL_ALIGNMENT = 64;
#ifdef _WIN32 // Windows
void *alignedMalloc(size_t size) {
return _aligned_malloc (size, AOCL_ALIGNMENT);
}
void alignedFree(void * ptr) {
_aligned_free(ptr);
}
#else // Linux
void *alignedMalloc(size_t size) {
void *result = NULL;
int rc;
rc = posix_memalign (&result, AOCL_ALIGNMENT, size);
return rc;
}
void alignedFree(void * ptr) {
free (ptr);
}
#endif
`
but this function is not used in the main()
so, how can I remove these warning?
thanks for any help!