Dear Waldek,

thank you for your reply.

> Currently FriCAS is unable take advantage of multiple threads.
> I am thinking how to change this.  ATM it seems that we need
> something like Open MP at Spad level.

My own experience with Open MP is not very good (in C++) benchmarking
showed that only
very straight forward loops etc get boosted up, in half of the cases
the code was performing on
a same or worse level.
   Last week a person from Mircosoft research gave a talk about
compiling code for heterogenous
multi core systems. They found a way to write an langage extension
which allows 'on the fly'
compilation for multi cores, GPUs and even FPGAs from the _same_ high
level language.
This is done by jus in time compilation (JITing). Downside is, that
the code has to be restructured,
which would need a rewrite of lost of algebra code in FriCAS (and I
don't know if their tool is available for Linux). ahow they fond a
very good scaling and the programmer has _not_ really to think about
how that is performed, they provide some high level language
constructs to reorganize
multiple use of data in such algorithms as graphics filters etc. But
such things are done in computer algebra also all the time.
  Maple is currently also trying to make the kernel multi threaded,
but the results are so far poore as I can tell.

Unfortunately I don't have currently any time to investigate this
further, but I have build a second FriCAS with Clozure CL and may once
in a while see how it perfomrms in comparision to sbcl.

Cheers
BF.

-- 
% PD Dr Bertfried Fauser
%       Research Fellow, School of Computer Science, Univ. of Birmingham
%       Honorary Associate, University of Tasmania
%       Privat Docent: University of Konstanz, Physics Dept
<http://www.uni-konstanz.de>
% contact |->    URL : http://www.cs.bham.ac.uk/~fauserb/
%              Phone :  +44-121-41-42795

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To post to this group, send email to fricas-de...@googlegroups.com.
To unsubscribe from this group, send email to 
fricas-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fricas-devel?hl=en.

Reply via email to