I have seen in many examples than when we want to use pinned mapped memory we must use the cudahostalloc function
in order to allocate pinned memory in the host. Then we have a pointer if we want to make changes in this memory by the host side.
My problem is that i must know exactly the address space of the pinned memory that i will use. For example i want to specify how much memory of the host i will use and not to allocate it. This is because i want to know exactly which addresses of the pinned-memory i use for my project.
It is important for me to use pinned memory.
Thanks a lot