[m-rev.] HLC backend speedup for N-queens
fabrice nicol
fabrnicol at gmail.com
Thu Jan 21 02:22:18 AEDT 2021
Hi Julien,
attached are the benchmark files named along the following pattern:
queens_platforms.ext
C++ programs were compiled with GNU g++-10.2 using -O3 -march=native.
FYI, I'm currently working on an R interface library for Mercury, a bit
like the 'real' package for swi/yap but more straightforward thanks to
the Mercury C backend.
Preliminary results are surprisingly good and harnessing R C/C++/Fortran
statistical/data processing libraries into Mercury looks like a credible
prospect. I'll be coming back within a month with further results
(unless this has already been done somewhere. If so, please let me know).
Le 20/01/2021 à 03:01, Julien Fischer a écrit :
>
> Hi Fabrice,
>
> On Mon, 18 Jan 2021, fabrice nicol wrote:
>
>> Below is a benchmark of N-queens runs for N=14 to N=16, using the
>> Mercury repository test file cqueens.m, slightly modified using an
>> extra `solutions' predicate added to `main' and cutting down on output.
>
> Do you mind posting your modified version of the benchmark?
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: queens_ciao_gplc_swipl_yap.pl
Type: application/x-perl
Size: 1695 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20210120/7422200d/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: queens_optimizedC.c
Type: text/x-csrc
Size: 10208 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20210120/7422200d/attachment.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: queens_naive1.cpp
Type: text/x-c++src
Size: 1761 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20210120/7422200d/attachment.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: queens_naive2.cpp
Type: text/x-c++src
Size: 3339 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20210120/7422200d/attachment-0001.cpp>
More information about the reviews
mailing list