Depending on the cache topology of the processor, different CPU cores have shared
or independent cache instances. Software SRAM regions created by the cache configurator
are allocated within a single cache instance. Cache allocation library APIs should
be executed on the correct CPU core in order to be able to allocate memory in the
software SRAM region.
The following methods can be used to set up affinity of the thread or application: