Main Content

Enable cuBLAS

R2026b

Replace math function calls with cuBLAS library calls

Description

App Configuration Pane: GPU Code

Configuration Objects: coder.GpuCodeConfig

The Enable cuBLAS parameter replaces math function calls with NVIDIA® cuBLAS library calls in the generated code. For more information, see Kernels from Library Calls.

Settings

On

This value is the default value.

Replaces corresponding 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

Does not replace math functions calls with calls to cuBLAS library in the generated code.

Programmatic Use

Property: EnableCUBLAS
Values: true or 1 | false or 0
Default: true

Version History

Introduced in R2018a