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