[m-users.] uncaught Mercury exception using mdprof_create_feedback

Matthias Guedemann matthias at guedemann.org
Fri Oct 3 19:35:34 AEST 2014


Hi Paul,

thanks for fixing this.

> I've fixed the bug and I can patch Mercury soon.  Now that it's
> working I can create the feedback file (attached).  What's interesting
> is that the automatic parallelisation analysis chooses a different
> parallelisation than yours.  It picks a dependent parallelisation of
> main/2 and believes it can get a speedup of more than 4.0.  I tried

this is very interesting. I'm curious about implicit parallelism
precisely because of the possibility to find cases like this where the
obvious manual parallelisation might be inferior.

> compiling and running the program and I cannot verify this because the
> program finishes in less than 0.020 seconds with or without
> parallelism, which is too little to measure.  I'll let you try it with
> my feedback file and see what you find.  Also you can see what the
> autoparallelisation recommends by using the mdprof_report_feedback
> tool to translate the feedback file into a human readable form.

I'll try this as soon as possible, and will let you know.

best regards
Matthias




More information about the users mailing list