Repository navigation
New
- SmallGEMM: a kernel for one contiguous column of B (matrix-vector products). On one core of an AMD EPYC 9474F, for m x k by k x 1 with k of 144 and 432 and m from 1 to 768, it takes 0.15-0.99x the time of OpenBLAS dgemm and 0.25-1.12x that of MKL dgemm (#46).
- QuadElemList (experimental): Gmsh MSH 4.1 input and output (
ReadGmsh,WriteGmsh), binaryWriteandRead, andSCTL_QUAD_ELEM_ORDERSto select the element orders that are compiled (#42). - omp_par:
parallel_forandparallel_reducerun the loop on the calling thread, without a parallel region, when the team would have one thread (#46).
Performance
gemm,radix_sortandTreerun on teams of all threads, so that libgomp does not end and create threads again between calls (#45).- A thread that ends leaves its
ScratchPoolchunk to the next thread made, andScratchBufmoves the top-most buffer to a larger chunk when its own has no room (#45). - GMRES keeps its Krylov basis, Hessenberg matrix and residual in scratch memory (#45).
BuildNearListcomputes the bounding box in parallel and in one pass;QuadElemList::Initcopies in parallel (#45).BoundaryIntegralOpcomputes the near interactions with SmallGEMM instead of BLAS (#46).
Fixes
- With an ILP64 BLAS (64-bit integers),
gemmgave wrong results andgesvdfailed. The integer width now comes fromSCTL_BLAS_INT, or is detected from the BLAS on the first call (#44). - The BLAS and LAPACK declarations no longer conflict with those of Eigen, OpenBLAS, LAPACK or MKL headers (#44, fixes #12).
- No warnings with
-Wextra, or with-Wfloat-conversionforReal = float(#46, #47); nvcc compiles the host code as the host compiler does (#46). - Makefile:
-mno-avx512fp16and__float128only where the compiler has them (#43).
Changes that may need updates
blas.handlapack.hno longer declare the Fortran functionssgemm_,dgemm_,sgesvd_anddgesvd_; SCTL calls them throughsctl::detail_blasandsctl::detail_lapack. Code that calls these functions must declare them itself or include its BLAS header (#44).mat::svdtakesLong*integer arguments, andmat::gemmandmat::pinvtakeLong(#44).QuadElemList::Write(fname, binary, comm): the newbinaryargument comes beforecomm. Files start with a format version line, andReaddoes not read files written by 2.0.0 (#42).
Attribution
Zenodo DOI and a citation section with BibTeX in the README and the documentation; Abtin Rahimian added to the authors.
Full Changelog: 2.0.0...2.1.0