cuBLAS
Enable use of cuBLAS library
Since R2020b
Model Configuration Pane: Code Generation / GPU Code
Description
The cuBLAS parameter specifies whether to replace math function calls with NVIDIA® cuBLAS
library (Linear Algebra) calls.
Dependencies
This parameter requires a GPU Coder™ license.
To enable this parameter, select Generate GPU code on the Code Generation pane.
Settings
on (default) | off
- On
Allows GPU Coder to replace appropriate math function calls with calls to the
cuBLAS
library. For functions that have no replacements in CUDA®, GPU Coder uses portable MATLAB® functions and attempts to map them to the GPU.
- Off
Disable the use of the
cuBLAS
library in the generated code.
Recommended Settings
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | No impact |
Programmatic Use
Parameter: GPUcuBLAS |
Type: character vector |
Value: 'on' | 'off' |
Default: 'on' |
Version History
Introduced in R2020b