Largest atomic size: floating-point
Description
Specify the largest floating-point data type that can be atomically loaded and stored on the selected hardware.
Category: Hardware Implementation
Settings
Default:
Float
FloatSpecifies that
floatis the largest floating-point data type that can be atomically loaded and stored on the hardware.DoubleSpecifies that
doubleis the largest floating-point data type that can be atomically loaded and stored on the hardware.NoneSpecifies that there is no applicable setting or not to use this parameter in generating multirate code.
Tip
Use this parameter, where possible, to remove unnecessary double-buffering or unnecessary semaphore protection, based on data size, in generated multirate code.
Dependencies
Selecting a device by using the Device vendor and Device type parameters sets a device-specific value for this parameter.
This parameter is enabled only if you can modify it for the selected hardware.
Command-Line Information
Parameter:
ProdLargestAtomicFloat |
| Type: string |
Value:
'Float' | 'Double' |
'None' |
Default:
'Float' |
Recommended Settings
| Application | Setting |
|---|---|
| Debugging | No impact |
| Traceability | No impact |
| Efficiency | Target specific |
| Safety precaution | No
recommendation for simulation
without code generation. |
See Also
Hardware Implementation Options (Simulink Coder)
Specifying Production Hardware Characteristics (Simulink Coder)
Verification of Code Generation Assumptions (Embedded Coder)