Select the GPU memory manager for efficient memory allocation, management, and improving run-time performance.
Category: Code Generation > GPU Code
The GPU memory manager creates a collection of large GPU memory pools and manages allocation and deallocation of chunks of memory blocks within these pools. By creating large memory pools, the memory manager reduces the number of calls to the CUDA® memory APIs, improving run-time performance. You can use the GPU memory manager for MEX and standalone CUDA code generation.
Disable the use GPU memory manager for memory allocation and management.
This parameter requires a GPU Coder™ license.
To enable this parameter, select Generate GPU code on the Code Generation pane.
|Type: character vector|