cahlen's picture
CUDA kernel: minkowski-spectrum-cuda
728ed8c verified
metadata
license: mit
tags:
  - kernels
  - cuda
  - minkowski-question-mark
  - singularity-spectrum
  - thermodynamic-formalism
  - number-theory
datasets:
  - cahlen/continued-fraction-spectra

Minkowski Question-Mark Singularity Spectrum

Computes the singularity spectrum f(alpha) of the Minkowski ?(x) function via thermodynamic formalism.

Usage

import torch
from kernels import get_kernel

kernel = get_kernel("cahlen/minkowski-spectrum-cuda")
result = minkowski.compute_tau(q_values, max_digit=50, chebyshev_order=40)

Compile (standalone)

nvcc -O3 -arch=sm_90 -o minkowski_spectrum minkowski_spectrum/minkowski_spectrum.cu -lm

Results

All computation results are open:

Citation

@misc{humphreys2026bigcompute,
  author = {Humphreys, Cahlen},
  title = {bigcompute.science: GPU-Accelerated Computational Mathematics},
  year = {2026},
  url = {https://bigcompute.science}
}

Human-AI collaborative. Not peer-reviewed. All code and data open.