Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vsipl++] [patch] Kernel updates


  • To: Brooks Moses <brooks@xxxxxxxxxxxxxxxx>
  • Subject: Re: [vsipl++] [patch] Kernel updates
  • From: Jules Bergmann <jules@xxxxxxxxxxxxxxxx>
  • Date: Mon, 02 Jun 2008 09:50:45 -0400


It's sort of a moot point right now, as C++ kernels don't work with ALF 3.0.

*/me looks at alf_functions.cpp in the SBIR demo code*

*/me is rather confused*

As far as I can tell, C++ kernels seem to work fine with ALF 3.0, so
long as the relevant functions (and the ALF macro stuff at the end) are
wrapped in an 'extern "C"' block.

Thanks Brooks, I will poke further on this.

FWIW, before giving up on using C++ for the split-complex FFT kernel, I wrapped the ALF macros in extern "C" but then ran into a ALF runtime error.

				-- Jules

--
Jules Bergmann
CodeSourcery
jules@xxxxxxxxxxxxxxxx
(650) 331-3385 x705