Memory Manager
Description
Select the GPU memory manager for efficient memory allocation, management, and improving run-time performance.
Category: Code Generation > GPU Code
Settings
Default: Off
On
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.
Off
Disable the use GPU memory manager for memory allocation and management.
Dependencies
This parameter requires a GPU Coder™ license.
To enable this parameter, select Generate GPU code on the Code Generation pane.
Command-Line Information
Parameter:
GPUEnableMemoryManager |
Type: character vector |
Value:
'on' | 'off' |
Default:
'off' |