Views
No views yet
1import torch
2from kernels import get_kernel
3
4kernel = get_kernel("cahlen/zaremba-density-cuda")
5result = zaremba.count_representable(max_d=1000000, digits=torch.tensor([1,2,3]))nvcc -O3 -arch=sm_90 -o zaremba_density zaremba_density/zaremba_density_gpu.cu -lm1@misc{humphreys2026bigcompute,
2 author = {Humphreys, Cahlen},
3 title = {bigcompute.science: GPU-Accelerated Computational Mathematics},
4 year = {2026},
5 url = {https://bigcompute.science}
6}