rahulgarg

Beware of calMemCopy

Discussion created by rahulgarg on Jan 14, 2009
Latest reply on Jan 26, 2009 by rahulgarg
Just a suggestion to application coders

I was tracking down a bug in an application and it appears that calMemCopy can cause incorrect transfers under some conditions.
Its best to use "fresh" CALmem when doing the transfers and release the CALmem used in the memcopy before accessing the data. If you want to use calMemCopy, use the Copy function provided in one of the samples. That always correctly.

Outcomes