The algSettings config params are only applied to algorithm-requested memory (requested via IALG during VISA *_create() calls). There are two global params that affect how this algo-requested memory is allocated: 1. algSettings.useHeap is used to alloc from a heap or pool. Pools are typically more difficult to "configure right", heaps are subject to fragmentation. Often development starts with heaps, then migrates to pools once the requested sizes become known and stable. 2. algSettings.useCache is used to alloc from cacheable memory.
Both are [lightly] documented here: https://www-a.ti.com/downloads/sds_support/targetcontent/CE/ce_2_10/code c_engine_2_10_01/xdoc/index.html#ti/sdo/ce/alg/Settings.html Neither of these settings affect the application requested memory. Apps can still use CMEM directly, and/or the Memory_* APIs to request whatever type of memory they need (cached/non-cached, heap/pool, etc). Chris > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] ] On Behalf Of Divya Varadarajan > Sent: Thursday, June 05, 2008 8:56 PM > To: davinci-linux-open-source@linux.davincidsp.com > Subject: useHeap option on DM355 > > Hi all, > > I am trying to integrate some speech codecs (using Codec Engine) on > DM355 and have the following query. > > Codec Engine uses CMEM to allocate the memory for all components(local > or remote), however there is an option > available which specifies the usage of heap memory(The option is given > below) > > algSettings = xdc.useModule('ti.sdo.ce.alg.Settings'); > > algSettings.useHeap = true; > > Can anyone please clarify as to what this option is for? > Once I select this option will the memory I access be from > CMEM or heap? > Also if the memory I access through any local component is from heap > ,then will it be cached(taking into consideration that ARM memory is > cached)? > > Thanks in advance, > Divya _______________________________________________ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source