Enable GPU memory manager
Use GPU memory manager
Since R2022b
Description
App Configuration Pane: GPU Code
Configuration Objects: coder.gpuConfig
The Enable GPU memory manager parameter selects the GPU memory manager for efficient memory allocation, management, and improving run-time performance.
Settings
on
(default) | off
- On
Enable the use of GPU memory manager that 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.
Programmatic Use
Property:
EnableMemoryManager |
Values: true |
false |
Default: true |
Version History
Introduced in R2022b