Deployment and Development Libraries

The installation of Intel® ArBB includes both arbb_dev.dll and arbb.dll:

  • arbb_dev.dll Development library
  • arbb.dll Deployment library


The development library is intended for use by application developers. One can manipulate environment variables both from the API and by explicitly setting an environment variable. All features included in the User's Guide and Reference Manual are included.

In the deployment library, one can only change environment variables from the API. In this fashion, end users are prevented from manipulating features of the product that would allow insight into the internal workings of an application. Furthermore, debugging information for ArBB data types, and JIT profiling with Intel® Amplifier XE are excluded.

Here is a list of the environment variables and their corresponding API component:

Environment Variable (only available in the development library)

Corresponding API Call and Usage

Values

Default

Description

ARBB_OPT_LEVEL

void arbb::generate_threaded_code (bool value)

  • If 'value' is 'true' then it sets the O3 mode.
  • If 'value' is 'false' then it sets the O2 mode.
O2 or O3

O3

Sets the level of optimization.

  • O2 enables vectorization.
  • O3 enables vectorization and use of multiple cores.
ARBB_EMULATE

void arbb::set_emulation_mode (bool emulation)

  • If 'emulation' is 'true' then emulation mode is enabled.
  • If 'emulation' is 'false' then emulation mode is disabled.



Use 1 to enable this option. Use any other value to disable this option.

0

Enables emulation mode, in which no run-time compilation is performed and all operations are executed immediately. This setting permits stepping through Intel® ArBB code using a debugger.

ARBB_NUM_THREADS

void arbb::num_threads (unsigned int num)

An integer ranging from 1 to the number of cores reported by the operating system.

The maximum number of cores.

Specifies the maximum number of software threads used when generation of threaded code is enabled.

ARBB_DECOMP_DEGREE

void arbb::decomp_degree (
unsigned int degree_multiplier)

An integer larger than or equal to 0

0

Specifies the degree to which the work of each parallel region is decomposed into tasks when generation of threaded code is enabled. By default, it is set to the number of available cores (multiplied by 2 if Hyper-Threading is enabled).

ARBB_INIT_HEAP

void arbb::set_heap_size (
std::size_t init_heap_size,
std::size_t max_heap_size)

A positive integer with a suffix in the set [k, K, m, M].

64M

Specifies the initial heap size in kilobytes or megabytes.

ARBB_MAX_HEAP

void arbb::set_heap_size(
std::size_t init_heap_size,
std::size_t max_heap_size)

A positive integer with a suffix in the set [k, K, m, M].

256M

Specifies the maximum heap size in kilobytes or megabytes.

Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.