I am now trying to allocate contiguous GPU memory and get the starting physical address on Ubuntu 20.04. Common memory allocation functions such as cudamalloc apparently do not do what I need. Does such an api exist in the latest cuda to help do my job?
- allocate contiguous GPU virtual memory as well as physical memory
- get the starting physical memory address
Can anyone answer my doubts with code? Thanks!