Astrophysics & Scientific Computing · Department of Physics, The Chinese University of Hong Kong (CUHK)
Portal: https://formless-observatory.wuxiangguan.workers.dev/
An end-to-end, zero-copy C++20 / CUDA / cuFFT / Python ecosystem spanning linear Einstein–Boltzmann theory, 3LPT initial conditions, VRAM-resident TreePM + SPH hydrodynamics, 21 cm reionization, survey forward modeling, and closed-loop baryon calibration:
| Component | Role | Key Verified Highlights | Links |
|---|---|---|---|
CU-Suite |
Orchestrator, Contract & Baryon Calibration | Unified project.toml, cu-suite doctor, Spec C paired DMO+Hydro calibration (261.06 s on RTX 4090, live HMcode logT_AGN=8.0924) |
GitHub · Docs |
CosmoCU |
Einstein–Boltzmann, HMcode/BCM/EFTofLSS & Dual<10> AD |
0.045% unlensed / 0.053% lensed median CAMB 2.0.5 (30 <= ell <= 3000); Cobaya / PyTorch / JAX AD bridges |
GitHub · Docs |
ICU |
GPU/CPU/MPI 1LPT/2LPT/3LPT Initial Conditions |
16.86× memory reduction at N=1024 via 6-grid phase4 dealiasing; Philox-4x32-10 bit-exact determinism; icu_generate_to_device
|
GitHub · Docs |
gravityCU |
Multi-GPU TreePM, SPH Hydro, Merger Trees & Lightcones |
1024³ VRAM-resident on 4× RTX A6000 (7.26×–9.64× vs 256-core SWIFT, 0.00453% max |
Project Site · GitHub |
21cmCU |
Native C/CUDA + cuFFT 21cm EoR & Inference | Zero CuPy/Numba runtime deps, 2048³ multi-GPU slab + NCCL 2.x, SKA1-Low/HERA-350 mocks, C99 Nested Sampling & MCMC |
GitHub · Wiki |
ObsCU |
Survey Forward Modeling, SBI & Baryon Calibration | Weak lensing (Nside=4096 in 0.51 s), HOD/SHAM (10⁷ halos in 0.82 s, 85.5× RTX 4090 speedup), Lyα, tSZ/kSZ, 8/8 validation gates |
GitHub · Docs |
- Cosmological Hydrodynamics & Large-Scale Structure: GPU TreePM + SPH, CHIMES cooling, stochastic SN + dual-mode SMBH/AGN feedback, baryonic feedback priors (
HMCode-2020,BCM), and weak-lensing / galaxy / 21 cm joint analyses (Euclid,CSST,LSST,DESI,JWST,SKA). - Differentiable Physics & HPC: Header-only C++20
Dual<N>forward-mode AD through stiff SDIRK4(3) Boltzmann ODEs, zero-copy CUDA/C ABI interop, MPI+CUDA pencil/Hilbert domain decompositions, and simulation-based inference (SBI).