HPL-MxP
  • C 93.8%
  • M4 5.1%
  • Makefile 1.1%
Find a file
2026-06-01 12:32:20 +08:00
.gitignore Remove .o file, it's included in *.o 2019-12-20 10:43:40 -05:00
AUTHORS Add Autotools configuration 2019-12-17 19:48:29 -05:00
ChangeLog Add Autotools configuration 2019-12-17 19:48:29 -05:00
configure.ac Transition to standard CBLAS/LAPACKE and improve build system detection 2026-06-01 12:31:26 +08:00
convert.c Introduce 2D indexing that doesn't overflow with "int" 2019-12-21 00:57:28 -05:00
COPYING Add Autotools configuration 2019-12-17 19:48:29 -05:00
gmres.c Transition to standard CBLAS/LAPACKE and improve build system detection 2026-06-01 12:31:26 +08:00
hpl-ai-config.h.in Update hpl-ai-config.h.in via autoheader 2026-06-01 12:32:20 +08:00
hpl-ai.c Transition to standard CBLAS/LAPACKE and improve build system detection 2026-06-01 12:31:26 +08:00
hpl-ai.h Transition to standard CBLAS/LAPACKE and improve build system detection 2026-06-01 12:31:26 +08:00
INSTALL Implement comprehensive fixes for distributed HPL-MxP benchmark 2026-05-31 21:21:26 +08:00
LICENSE Update date and add ICL 2019-12-19 19:57:17 -05:00
Makefile.am Transition to standard CBLAS/LAPACKE and improve build system detection 2026-06-01 12:31:26 +08:00
matgen.c Implement comprehensive fixes for distributed HPL-MxP benchmark 2026-05-31 21:21:26 +08:00
NEWS Add Autotools configuration 2019-12-17 19:48:29 -05:00
print.c Introduce 2D indexing that doesn't overflow with "int" 2019-12-21 00:57:28 -05:00
README Add instructions for bootstrap and configuration 2021-02-04 00:42:53 -05:00
sgetrf_nopiv.c Transition to standard CBLAS/LAPACKE and improve build system detection 2026-06-01 12:31:26 +08:00
timer.c clang-format 2019-11-15 15:08:24 -05:00

Reference Implementation of the HPL-AI Benchmark

To boostrap the configuration files make sure you have GNU Autotools installed and type:

```
autoreconf -ivf
```

To configure the build and prepare for compilation run:

```
./configure
```

Use `--help` option to see the available settings.

To compile and run the benchmark executable:

```
$ make
$ ./hpl-ai <n> <max_iter>
```
Where n is the size of linear system to solve.
max_iter is the maximum number of iterations for GMRES iterative solver.

Example output:

```
Time spent in conversion to single:        0.000 second
Time spent in factorization       :        0.004 second
Time spent in solve               :        0.000 second
Time spent in conversion to double:        0.000 second
Residual norm at the beginning of GMRES: 1.176789e-08
Estimated residual norm at the 1-th iteration of GMRES: 2.550870e-15
Estimated residual norm at the 2-th iteration of GMRES: 5.056252e-22
Time spent in GMRES               :        0.001 second
Total time                        :        0.005 second
Effective operation per sec       :     0.140091 GFLOPs
The following scaled residual check will be computed:
||Ax-b||_oo / ( eps * ( || x ||_oo * || A ||_oo + || b ||_oo ) * N )
The relative machine precision (eps) is taken to be: 1.110223e-16
Computational tests pass if scaled residuals are less than 16.0
||Ax-b||_oo/(eps*(||A||_oo*||x||_oo+||b||_oo)*N)= 4.531977 ...PASSED
```

SPDX-License-Identifier: BSD 3-Clause Clear License