Any way to reserve a virtual memory address range without actually allocating physical pages? You can do that with VirtualAlloc on Windows and mmap on UNIX. I’d like to do this for a custom memory allocator so that it doesn’t have to grab a huge memory block up front and deny it to code that just uses regular cudaMalloc.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
How to pre-allocate free space list of cudaMalloc? | 9 | 723 | February 22, 2023 | |
Allocating space in global memory from device | 1 | 995 | May 10, 2009 | |
On the implementation of CUDA_MALLOC | 0 | 967 | July 8, 2010 | |
Page-Locked Host Memory without using cudaHostAlloc() | 1 | 1014 | February 17, 2011 | |
may i malloc mem on device. | 2 | 2079 | December 30, 2008 | |
allocate memory in device code? | 1 | 1007 | June 13, 2009 | |
How to allocate space int constant memory dynamically? | 1 | 1754 | July 16, 2009 | |
Memory fragmentation | 5 | 6762 | October 13, 2009 | |
question about memory allocation | 1 | 1620 | October 16, 2007 | |
How to allocate contiguous GPU memory and get its physical address in latest CUDA? | 6 | 1523 | September 19, 2023 |