[patch] Avoid use of posix_memalign with LAM

Jules Bergmann jules at codesourcery.com
Tue Jan 8 15:42:38 UTC 2008


This patch adds back the check to avoid using posix memalign with LAM.

Recall that LAM defines its own malloc, free, etc, but does not define 
posix_memalign.  Using LAM free to deallocate memory allocated with 
system posix_memalign doesn't work so well.

This patch also: fixes a bug in the Cell pwarp kernel and fixes the SAL 
vthresh benchmark to compile when SAL is missing vthrx.

Patch applied.

				-- Jules

-- 
Jules Bergmann
CodeSourcery
jules at codesourcery.com
(650) 331-3385 x705
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fix-memalign.diff
URL: <http://sourcerytools.com/pipermail/vsipl++/attachments/20080108/d14b3188/attachment.ksh>


More information about the vsipl++ mailing list