# OpenCL Options

This page is under construction |

OpenCL: the open standard for parallel programming of heterogeneous systems.

Menu **Tools - Options - LibreOffice Calc - Formula**, and in section **Detailed Calculation Settings** press **Details...** button

OpenCL™ is the first open, royalty-free standard for cross-platform, parallel programming of modern processors found in personal computers, servers and handheld/embedded devices. OpenCL (Open Computing Language) greatly improves speed and responsiveness for a wide spectrum of applications in numerous market categories from gaming and entertainment to scientific and medical software

for more information on OpenCL, visit the OpenCL site |

## Contents

## Contents to Numbers

### Conversion from text to number

How to treat text when encountered as operand in an arithmetic operation or as argument to a function that expects a number instead. Unambiguous conversion is possible for integer numbers including exponents and ISO 8601 dates and times in their extended formats with separators. Fractional numeric values with decimal separators or dates other than ISO 8601 are locale dependent. Note that in locale dependent conversions the resulting numeric value may differ between locales!

**Generate #VALUE! error:** Text found where numeric data is expected will generate #VALUE! error. Example: `"123.45"`

will generate a #VALUE! error, while `123.45`

not.

**Treat as zero:** Any text found where numeric data is expected will be considered as a number of value zero. Example: `"123.45"`

will map to zero, while `123.45`

not.

**Convert only if unambiguous:** If the text represents a valid and unambiguous numeric value, convert it. Example: `"123.456"`

will generate a #VALUE! error because the text contains a separator, while `"123456"`

will not.

**Convert also locale dependent:** convert values valid in the locale representation. Example: `"123,45"`

is a valid number in some locales because the comma is the decimal separator there.

### Treat empty string as zero

This option determines how an empty string is treated when used in arithmetic operations. If you have set "Conversion from text to number" to either "Generate #VALUE! error" or "Treat as zero", you cannot choose (here) if conversion of an empty string to a number will generate an error or if it will treat empty strings as zero. Otherwise this option determines how empty strings are treated.

### Reference syntax for string reference

Formula syntax to use when parsing references given in string parameters. This affects built-in functions such as INDIRECT that takes a reference as a string value.

**Use formula syntax:**

**Calc A1:**

**Excel A1:**

**Excel R1C1:**

## OpenCL Settings

### Use OpenCL only for a subset of operations

Use OpenCL only for some of the operations that spreadsheet formulas are translated to.

### Minimum data size for OpenCL use:

An approximate lower limit on the number of data cells a spreadsheet formula should use for OpenCL to be considered.

### Subset of OpCodes for which OpenCL is used

The list of operators and function opcodes for which to use OpenCL. If a formula contains only these operators and functions, it might be calculated using OpenCL.