Skip to content
Snippets Groups Projects
Verified Commit 739266d5 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

WIP: Sparse kronecker v1

Rewrite in Fortran, using the same algorithm.

Unfortunately this is slower than the C++ version. It seems that it is a
compiler issue. Copying A and D into allocatable arrays improves the
situation (looking at the generated assembly code, it seems that gfortran 10 does
not exploit the “contiguous” attribute of pointers, and generates a more
complex code that does index computations with an arbitrary stride; using an
allocatable array removes this problem). However this is still not enough to be
at par with C++ code.
parent 62586990
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment