Custom compute capability

Description

Specify the name of the NVIDIA® virtual GPU architecture for code generation.

Category: Simulation Target > GPU Acceleration

Settings

Default: ''

Specify the name of the NVIDIA virtual GPU architecture for which the CUDA® input files must be compiled.

For example, to specify a virtual architecture type -arch=compute_50. You can specify a real architecture using -arch=sm_50. For more information, see the Options for Steering GPU Code Generation topic in the CUDA toolkit documentation.

Dependencies

  • This parameter requires a GPU Coder™ license.

  • This parameter is enabled by GPU acceleration on the Simulation Target pane.

Command-Line Information

Parameter: SimGPUCustomComputeCapability
Type: character vector
Value: '' or a valid user-specified virtual architecture specification
Default: ''

Related Topics