|
| virtual PxCudaBuffer * | alloc (const PxCudaBufferType &type, size_t size, NV_ALLOC_INFO_PARAMS_DECL(NULL, 0, NULL, UNASSIGNED))=0 |
| | Allocate memory of given type and size. Returns a CudaBuffer if successful. Returns NULL if failed. More...
|
| |
| virtual PxCudaBufferPtr | alloc (PxCudaBufferMemorySpace::Enum memorySpace, size_t size, NV_ALLOC_INFO_PARAMS_DECL(NULL, 0, NULL, UNASSIGNED))=0 |
| | Basic heap allocator without PxCudaBuffer. More...
|
| |
| virtual bool | free (PxCudaBufferMemorySpace::Enum memorySpace, PxCudaBufferPtr addr)=0 |
| | Basic heap deallocator without PxCudaBuffer. More...
|
| |
| virtual bool | realloc (PxCudaBufferMemorySpace::Enum memorySpace, PxCudaBufferPtr addr, size_t size, NV_ALLOC_INFO_PARAMS_DECL(NULL, 0, NULL, UNASSIGNED))=0 |
| | Basic heap realloc without PxCudaBuffer. More...
|
| |
| virtual void | getStats (const PxCudaBufferType &type, PxCudaMemoryManagerStats &outStats)=0 |
| | Retrieve stats for the memory of given type. See PxCudaMemoryManagerStats. More...
|
| |
| virtual bool | reserve (const PxCudaBufferType &type, size_t size)=0 |
| |
| virtual bool | setPageSize (const PxCudaBufferType &type, size_t size)=0 |
| |
| virtual bool | setMaxMemorySize (const PxCudaBufferType &type, size_t size)=0 |
| |
| virtual size_t | getBaseSize (const PxCudaBufferType &type)=0 |
| | Returns the base size. The base memory block stays persistently allocated over the SDKs life time. More...
|
| |
| virtual size_t | getPageSize (const PxCudaBufferType &type)=0 |
| | Returns the currently set page size. The memory grows and shrinks in blocks of size (2^n pageSize) More...
|
| |
| virtual size_t | getMaxMemorySize (const PxCudaBufferType &type)=0 |
| | Returns the upper limit until which the manager is allowed to allocate additional pages from the CUDA driver. More...
|
| |
| virtual PxCudaBufferPtr | getMappedPinnedPtr (PxCudaBufferPtr hostPtr)=0 |
| | Get device mapped pinned host mem ptr. Operation only valid for memory space PxCudaBufferMemorySpace::T_PINNED_HOST. More...
|
| |
Allocator class for different kinds of CUDA related memory.