Forum Discussion
Altera_Forum
Honored Contributor
8 years ago --- Quote Start --- Host/device data transfer via DMA needs the host buffer to be 64-byte-aligned or else DMA will not work and you will get those warnings. Please read "Intel® FPGA SDK for OpenCL Best Practices Guide, 1.3.4 Allocate Aligned Memory" for instructions as to how you can allocate aligned memory on the host. --- Quote End --- Hi, Thank you for the prompt feedback. I came across the documentation you mentioned at the end of last week. It would be good to have this specific memory allocation in the Hello World sample code. I have IN/OUT buffers as parameters to the kernel. I had to use the posix_memalign() to fix the warning issue.