Downloads · 30 days
0
cahlen/bigcompute-cuda-kernels
bigcompute-cuda-kernels is a other model from cahlen. Use it for the other task on the model card, and read the license before you ship it in a product. It is set up for other. The card lists the license as mit.
52 custom CUDA kernels for GPU-accelerated computational mathematics research. These kernels power the experiments at bigcompute.science.
Downloads · 30 days
0
Access
Public
Updated May 31, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
.cu614 KB · 97%
From the Hugging Face model README
52 custom CUDA kernels for GPU-accelerated computational mathematics research. These kernels power the experiments at bigcompute.science.
All kernels are standalone — compile with nvcc, run from the command line. No PyTorch dependency.
Developed and tested on:
Most kernels will run on any CUDA GPU (sm_50+). Compile with your target architecture:
nvcc -O3 -arch=sm_XX -o kernel kernel.cu -lm
Density enumeration (zaremba-density/) — complete CF tree enumeration with bitset marking:
zaremba_density_gpu.cu — production kernel, 65+ runs to 10^12zaremba_density_v2.cu — alternative implementationzaremba_density_gpu_worksteal_v2.cu — work-stealing variant for load balancingTransfer operator (zaremba-transfer-operator/) — Chebyshev collocation spectral method:
transfer_operator.cu — spectral gap computation for Ruelle operatorEffective bound (zaremba-effective-bound/) — Bourgain-Kontorovich proof framework:
spectral_gaps_fast.cu — bulk spectral gap verificationspectral_gaps_primes.cu — prime-indexed gapscertify_rho_cuda.cu — arb ball arithmetic certificationcompute_Q0.cu / Q0_frolenkov_kan.cu — effective constant extractioncount_representations.cu — CF representation countingdolgopyat_exact.cu / dolgopyat_profile.cu — Dolgopyat estimate profilingexponential_sum.cu — exponential sum boundsextract_eigenfunction.cu — transfer operator eigenfunction extractionflat_spectral_gap.cu — uniform spectral gap verificationmatrix_enum.cu / matrix_enum_multipass.cu — SL(2,Z) matrix enumerationminor_arc_primes.cu / minor_arc_profile.cu — minor arc estimatesverify_all_gaps_fp64.cu / verify_gaps_interval.cu / verify_gaps_v2.cu — gap verification suitecompute_c1_rigorous.cu — rigorous constant computationCayley diameters (zaremba-cayley-diameter/) — BFS on Cayley graphs of SL(2,Z/pZ):
cayley_diameter.cu / cayley_gpu.cu — full BFS diameter computationTransitivity (zaremba-transitivity/) — algebraic verification:
check_transitivity.cu — Dickson classification checkramsey-r55/ — search for 2-colorings of complete graphs with no monochromatic K5:
ramsey_gpu.cu — base simulated annealing kernelramsey_incremental.cu / ramsey_incremental_v2.cu — incremental K5 counterramsey_extend.cu / ramsey_extend_all.cu — exhaustive extension checking (4.4T extensions of K42 to K43)ramsey_fullcount.cu — complete clique enumerationramsey_search.cu / ramsey_global.cu / ramsey_verified.cu — search variantsclass-numbers/ — class numbers of real quadratic fields via BSGS:
class_numbers_v2.cu — production kernel (10^9 to 10^12 range)class_number_rqf.cu — real quadratic field specializationclass_number_fast.cu — optimized inner loopsieve_gpu.cu — GPU prime sievekronecker-coefficients/ — character tables and Kronecker triple computation:
kronecker_gpu.cu — full character table (S20: 3.7s, S30: 7.4 min, S40: 9.5 hr)kronecker_fast.cu — optimized triple-sumkronecker_compute.cu — targeted triple computationramanujan-machine/ — automated discovery of continued fraction formulas:
ramanujan_gpu.cu — v1 kernel (equal-degree polynomials, exhausted)ramanujan_v2.cu — v2 kernel (asymmetric-degree, where new discoveries live)prime-convergents/ — prime statistics of CF convergents:
prime_convergents.cu — v1 (uint64, depth ~38)prime_convergents_v2.cu — v2 (uint128, depth ~75, 128-bit Miller-Rabin)erdos-straus/ — solution counting for 4/p = 1/x + 1/y + 1/z:
erdos_straus.cu — per-prime f(p) enumeration, tested to 10^9hausdorff-spectrum/ — Hausdorff dimension via transfer operator + Chebyshev collocation:
hausdorff_spectrum.cu — all 2^20 - 1 subsets of {1,...,20}lyapunov-spectrum/ — Lyapunov exponents of CF digit sets:
lyapunov_spectrum.cu — full spectrum computationminkowski-spectrum/ — Minkowski question-mark function:
minkowski_spectrum.cu — singularity spectrumflint-hills/ — Flint Hills series partial sums:
flint_hills.cu — high-precision partial sum to 10B termscfd-chaotic-advection/ — Chirikov standard map Lyapunov spectrum (Benettin):
standard_map_lyapunov.cu — 16.8M trajectories in 116.6s on RTX 5090 (sm_120)nvcc -O3 -arch=sm_120 -o standard_map_lyapunov cfd-chaotic-advection/standard_map_lyapunov.cu -lm
./standard_map_lyapunov 2048 8192 50000 5.0
All computation results are open:
MIT
@misc{humphreys2026bigcompute,
author = {Humphreys, Cahlen},
title = {bigcompute.science: GPU-Accelerated Computational Mathematics},
year = {2026},
url = {https://bigcompute.science}
}
Human-AI collaborative research (Cahlen Humphreys + Claude). All code and data open for verification.