Repository navigation
ChASE Library Release Notes
v1.8.0 (compared to v1.7.5)
Overview
This release completes the adaptive Ozaki-II emulated GEMM for the Chebyshev filter deployed on NVIDIA GPUs. v1.7.4 shipped an experimental GEMMul8 path and left the adaptive modulus selection out. v1.8.0 selects the number of coprime moduli from the solver tolerance for double-precision Hermitian problems, adds a cuBLAS fixed-point backend for CUDA 13.5 and newer, and uses Ozaki-II for the pseudo-Hermitian H² filter at a fixed modulus count. The CMake project version is now 1.8.0.
Emulation stays off unless CHASE_ENABLE_OZAKI=ON. CPU and AMD builds keep the ordinary GEMM. Single precision and pseudo-Hermitian problems do not run the flexible search.
🎯 Main Changes
1. Adaptive GEMMul8 modulus selection
CHASE_ENABLE_OZAKI=ON enables precision emulation in the filter. CHASE_OZAKI_BACKEND defaults to GEMMUL8. With GEMMUL8_ROOT empty, ChASE clones GEMMul8 tag v3.4.4 and builds the GEMM-only INT8 library for the same single CUDA architecture as the rest of ChASE.
For a double-precision Hermitian eigenproblem, ChASE keeps the smallest s in 7 to 16 whose loose bound is below the solver tolerance. If a residual stagnates, it moves to the smallest s whose conservative bound is below that tolerance. If no such s exists, the fallback is s = 16. CHASE_OZAKI_FPGEMM_FALLBACK=1 uses the ordinary double-precision GEMM instead. The same selection is used on one GPU and on several GPUs. In parallel, the bound takes the number of ranks times the worst local block, and the FP64 reduction error is treated as exact. The complex bound is twice the real bound.
- A single-precision solve stays at s = 12.
- A pseudo-Hermitian solve stays at s = 16 in double precision and at s = 12 in single precision.
CHASE_OZAKI_NUM_MODULIpins s for any of these problems and turns the search off.CHASE_DISABLE_OZAKI=1keeps the Ozaki build and uses the ordinary GEMM for that run.- The device workspace defaults to 12 GiB with memory saving on.
CHASE_OZAKI_WORKSPACE_GBsets another cap.MAXturns memory saving off and allocates the full workspace for the chosen s. If that allocation fails, ChASE logs the CUDA error and continues with the ordinary GEMM.
2. cuBLAS fixed-point backend
CUDA 13.5 and newer can emulate a double-precision GEMM with fixed-point arithmetic. Select it with CHASE_OZAKI_BACKEND=CUBLAS. This backend uses the CUDA toolkit and does not build GEMMul8. The accuracy knob is the number of mantissa bits, which replaces the coprime modulus count s.
CHASE_CUBLAS_MANTISSA_BITSdefaults to 32 and is kept for the whole solve.CHASE_CUBLAS_MANTISSA_CONTROL=dynamiclets cuBLAS choose the bit count so the product is at least as accurate as double precision. Unset, the control isfixed.CHASE_CUBLAS_EMULATION_STRATEGYdefaults toeager.performantuses emulation only when it is faster.CHASE_CUBLAS_WORKSPACE_MBdefaults to 64. A failed allocation continues the solve with the ordinary GEMM.- After a residual stagnation, the product switches to the ordinary double-precision GEMM.
CHASE_CUBLAS_DISABLE_FALLBACK=1keeps the emulated product. - Choosing the bit count from the solver tolerance is not part of this release.
3. Pseudo-Hermitian H² filter
When Ozaki-II is enabled, the pseudo-Hermitian H² filter uses it on one GPU and on several GPUs, unless the solve is already on the ordinary GEMM. CPU backends still call the ordinary H² product. The pseudo-Hermitian solve initializes Ozaki-II and stays at the fixed modulus count above. It does not run the flexible search.
📦 Additional Changes
SetOzakiNumModuliandSetOzakiMantissaBitsset the GEMMul8 modulus count and the cuBLAS mantissa width on the GPU interface.- Example 5 accepts
--doubleand--complex, selectingfloat,double,complex<float>, orcomplex<double>. - With early locking disabled, a pseudo-Hermitian convergence update is no longer skipped.
- The user guide documents both emulated GEMM backends.
project(... VERSION ...)is now 1.8.0. After configuration,CHASE_VERSIONinchase_config.handVersioninchase.pcfollow that number. The README checkout example isv1.8.0.
Minor
- A
vX.Y.Ztag publishes that version of the documentation. The changelog lists one section per release.
📌 Migration Notes
- Existing configurations stay unchanged.
CHASE_ENABLE_OZAKIremainsOFF. - GEMMul8 is enabled with
-DCHASE_ENABLE_OZAKI=ON. The first configure needs either a network fetch orGEMMUL8_ROOT.CMAKE_CUDA_ARCHITECTURESmust be a single architecture. - The cuBLAS backend needs CUDA 13.5 or newer:
-DCHASE_ENABLE_OZAKI=ON -DCHASE_OZAKI_BACKEND=CUBLAS. - The flexible search applies only to double-precision Hermitian problems. Single-precision and pseudo-Hermitian solves keep the fixed modulus counts above.
CHASE_DISABLE_OZAKI=1turns emulation off for one run without rebuilding.
👥 Contributors
- Clément Richefort
- Xinzhe Wu