Forum Discussion
Altera_Forum
Honored Contributor
11 years agoc5soc memory allocation and use
As I understand it, in the Cyclone V Soc, the FPGA and HPS share a memory. It seems like this should make it possible for kernels to directly access variables used in the host program without needing...
Altera_Forum
Honored Contributor
9 years agoI wanted to follow up on this (hopefully someone might see it...)
We have a SGDMA engine driving data (from a camera) into DDR, that we'd then like to feed to an OpenCL kernel. We are currently programming the SGDMA engine in user space, but even if we wrote a driver we don't have the correct mapping to hand it. Right now, because the OpenCL API does not provide a physical address pointer, we have to copy data SGDMA'd from one buffer to an allocated buffer from OpenCL. This seems extremely wasteful and defeats the purpose of using OpenCL. How do recommend we accomplish this?