# set_cache_mode_rcl¶

set_cache_mode_rcl(mode)

Sets the cache mode to mode.

Parameters: mode (int) – cache mode n = 0: cache entirely disabled n = 1: default, local cache for every process, cache can be further split or disabled using split_collier_cache_rcl(). n = 2: global cache for all processes. The user initializes a desired number of caches with set_global_cache_rcl(). Switching between the caches is performed using switch_global_cache_rcl().