Umeå University's logo

umu.sePublications
System disruptions
There are recurring service disruptions on some of the search portals due to high traffic. We are working to resolve the issue, you may temporarily encounter an error message.
Change search
Link to record
Permanent link

Direct link
López Sánchez, Francisco
Publications (4 of 4) Show all publications
López Sánchez, F., Karlsson, L. & Bientinesi, P. (2026). Compilation of Generalized Matrix Chains with symbolic sizes. In: Blackburn, SN; Cohen, A; Jones, TM (Ed.), 2026 IEEE/ACM International Symposium on Code Generation and Optimization (CGO): . Paper presented at 24th IEEE/ACM International Symposium on Code Generation and Optimization, CGO 2026, 31 January 2026 - 04 February 2026, Sydney, Australia (pp. 466-478). Institute of Electrical and Electronics Engineers (IEEE)
Open this publication in new window or tab >>Compilation of Generalized Matrix Chains with symbolic sizes
2026 (English)In: 2026 IEEE/ACM International Symposium on Code Generation and Optimization (CGO) / [ed] Blackburn, SN; Cohen, A; Jones, TM, Institute of Electrical and Electronics Engineers (IEEE), 2026, p. 466-478Conference paper, Published paper (Refereed)
Abstract [en]

Generalized Matrix Chains (GMCs) are products of matrices where each matrix carries features (e.g., general, symmetric, triangular, positive-definite) and is optionally transposed and/or inverted. GMCs are commonly evaluated via sequences of calls to BLAS and LAPACK kernels. When matrix sizes are known, one can craft a sequence of kernel calls to evaluate a GMC that minimizes some cost, e.g., the number of floating-point operations (FLOPs). Even in these circumstances, high-level languages and libraries, upon which users usually rely, typically perform a suboptimal mapping of the input GMC onto a sequence of kernels. In this work, we go one step beyond and consider matrix sizes to be symbolic (unknown); this changes the nature of the problem since no single sequence of kernel calls is optimal for all possible combinations of matrix sizes. We design and evaluate a code generator for GMCs with symbolic sizes that relies on multi-versioning. At compile-time, when the GMC is known but the sizes are not, code is generated for a few carefully selected sequences of kernel calls. At run-time, when sizes become known, the best generated variant for the matrix sizes at hand is selected and executed. The code generator uses new theoretical results that guarantee that the cost is within a constant factor from optimal for all matrix sizes and an empirical tuning component that further tightens the gap to optimality in practice. In experiments, we found that the increase above optimal in both FLOPs and execution time of the generated code was less than 15% for 95% of the tested chains.

Place, publisher, year, edition, pages
Institute of Electrical and Electronics Engineers (IEEE), 2026
Keywords
code generator, compiler, generalized matrix chain, linear algebra, symbolic sizes
National Category
Computer Sciences
Identifiers
urn:nbn:se:umu:diva-255477 (URN)10.1109/CGO68049.2026.11395236 (DOI)001739171600036 ()2-s2.0-105041771146 (Scopus ID)9798331592882 (ISBN)9798331592899 (ISBN)
Conference
24th IEEE/ACM International Symposium on Code Generation and Optimization, CGO 2026, 31 January 2026 - 04 February 2026, Sydney, Australia
Available from: 2026-06-24 Created: 2026-06-24 Last updated: 2026-06-24Bibliographically approved
Araújo, J., López Sánchez, F., Johansson, S., Westman, A. & Bodin, M. (2025). Efficient computation and visualization of ionospheric volumetric images for the enhanced interpretation of Incoherent scatter radar data. Applied Computing and Geosciences, 26, Article ID 100245.
Open this publication in new window or tab >>Efficient computation and visualization of ionospheric volumetric images for the enhanced interpretation of Incoherent scatter radar data
Show others...
2025 (English)In: Applied Computing and Geosciences, E-ISSN 2590-1974, Vol. 26, article id 100245Article in journal (Refereed) Published
Abstract [en]

Incoherent scatter radar (ISR) techniques provide reliable measurements for the analysis of ionospheric plasma. Recent developments in ISR technologies allow the generation of high-resolution 3D data. Examples of such technologies employ the so-called phased-array antenna systems like the AMISR systems in North America or the upcoming EISCAT_3D in the Northern Fennoscandia region. EISCAT_3D will be capable of generating the highest resolution ISR datasets that have ever been measured. We present a novel fast computational strategy for the generation of high-resolution and smooth volumetric ionospheric images that represent ISR data. Through real-time processing, our computational framework will enable a fast decision-making during the monitoring process, where the experimental parameters are adapted in real time as the radars monitor specific phenomena. Real-time monitoring would allow the radar beams to be conveniently pointed at regions of interest and would therefore increase the science impact. We describe our strategy, which implements a flexible mesh generator along with an efficient interpolator specialized for ISR technologies. The proposed strategy is generic in the sense that it can be applied to a large variety of data sets and supports interactive visual analysis and exploration of ionospheric data, supplemented by interactive data transformations and filters.

Place, publisher, year, edition, pages
Elsevier, 2025
Keywords
Flexible mesh generation, Incoherent scatter radar, Large-scale ISR data, Real-time monitoring, Volumetric ionospheric images
National Category
Fusion, Plasma and Space Physics
Identifiers
urn:nbn:se:umu:diva-239177 (URN)10.1016/j.acags.2025.100245 (DOI)001498519900001 ()2-s2.0-105005496566 (Scopus ID)
Funder
Marcus and Amalia Wallenberg Foundation
Available from: 2025-06-13 Created: 2025-06-13 Last updated: 2025-09-23Bibliographically approved
López Sánchez, F., Karlsson, L. & Bientinesi, P. (2025). On the parenthesisations of matrix chains: all are useful, few are essential. Journal of combinatorial optimization, 49(3), Article ID 52.
Open this publication in new window or tab >>On the parenthesisations of matrix chains: all are useful, few are essential
2025 (English)In: Journal of combinatorial optimization, ISSN 1382-6905, E-ISSN 1573-2886, Vol. 49, no 3, article id 52Article in journal (Refereed) Published
Abstract [en]

The product of a matrix chain consisting of n matrices can be computed in Cn-1 (Catalan’s number) different ways, each identified by a distinct parenthesisation of the chain. The best algorithm to select a parenthesisation that minimises the cost runs in O(nlogn) time. Approximate algorithms run in O(n) time and find solutions that are guaranteed to be within a certain factor from optimal; the best factor is currently 1.155. In this article, we first prove two results that characterise different parenthesisations, and then use those results to improve on the best known approximation algorithms. Specifically, we show that (a) each parenthesisation is optimal somewhere in the problem domain, and (b) exactly n+1 parenthesisations are essential in the sense that the removal of any one of them causes an unbounded penalty for an infinite number of problem instances. By focusing on essential parenthesisations, we improve on the best known approximation algorithm and show that the approximation factor is at most 1.143.

Place, publisher, year, edition, pages
Springer Nature, 2025
Keywords
Approximation algorithm, Linear algebra compilers, Matrix chain, Matrix multiplication
National Category
Computer Sciences
Identifiers
urn:nbn:se:umu:diva-238200 (URN)10.1007/s10878-025-01290-7 (DOI)001466493300002 ()2-s2.0-105002887010 (Scopus ID)
Funder
eSSENCE - An eScience Collaboration
Available from: 2025-05-06 Created: 2025-05-06 Last updated: 2025-05-06Bibliographically approved
López, F., Karlsson, L. & Bientinesi, P. (2022). FLOPs as a discriminant for dense linear algebra algorithms. In: ICPP '22: proceedings of the 51st international conference on parallel processing. Paper presented at ICPP '22: 51st International Conference on Parallel Processing Bordeaux France 29 August 2022- 1 September 2022. ACM Digital Library, Article ID 11.
Open this publication in new window or tab >>FLOPs as a discriminant for dense linear algebra algorithms
2022 (English)In: ICPP '22: proceedings of the 51st international conference on parallel processing, ACM Digital Library, 2022, article id 11Conference paper, Published paper (Refereed)
Abstract [en]

Expressions that involve matrices and vectors, known as linear algebra expressions, are commonly evaluated through a sequence of invocations to highly optimised kernels provided in libraries such as BLAS and LAPACK. A sequence of kernels represents an algorithm, and in general, because of associativity, algebraic identities, and multiple kernels, one expression can be evaluated via many different algorithms. These algorithms are all mathematically equivalent (i.e., in exact arithmetic, they all compute the same result), but often differ noticeably in terms of execution time. When faced with a decision, high-level languages, libraries, and tools such as Julia, Armadillo, and Linnea choose by selecting the algorithm that minimises the FLOP count. In this paper, we test the validity of the FLOP count as a discriminant for dense linear algebra algorithms, analysing "anomalies": problem instances for which the fastest algorithm does not perform the least number of FLOPs. To do so, we focused on relatively simple expressions and analysed when and why anomalies occurred. We found that anomalies exist and tend to cluster into large contiguous regions. For one expression anomalies were rare, whereas for the other they were abundant. We conclude that FLOPs is not a sufficiently dependable discriminant even when building algorithms with highly optimised kernels. Plus, most of the anomalies remained as such even after filtering out the inter-kernel cache effects. We conjecture that combining FLOP counts with kernel performance models will significantly improve our ability to choose optimal algorithms.

Place, publisher, year, edition, pages
ACM Digital Library, 2022
Keywords
algorithm selection, linear algebra, scientific computing
National Category
Computer Sciences Computational Mathematics
Identifiers
urn:nbn:se:umu:diva-214445 (URN)10.1145/3545008.3545072 (DOI)001062754200011 ()2-s2.0-85138311336 (Scopus ID)9781450397339 (ISBN)
Conference
ICPP '22: 51st International Conference on Parallel Processing Bordeaux France 29 August 2022- 1 September 2022
Available from: 2023-09-15 Created: 2023-09-15 Last updated: 2025-04-24Bibliographically approved
Organisations

Search in DiVA

Show all publications