Run CUDA-based image processing on macOS via Metal. Supports upscaling, filtering, morphology, edge detection, and blending. Split images locally, process on cloud GPU, stitch results.
Write CUDA kernels that run on macOS Apple Silicon through automatic Metal translation.
Same codebase compiles on macOS, Linux, and Windows with native GPU support on each.
CPU-based tiling and stitching with OpenCV or header-only stb_image. No external dependencies required for C version.
Upload images, create tiles, trigger upscaling, and download results via HTTP endpoints.
1
Tile images locally with preprocess tool
2
Send tiles to cloud GPU instance
3
Upscale or filter on GPU
4
Combine tiles into final image
Processing times for 1024×1024 images.
| Operation | macOS Metal | Linux CUDA | CPU |
|---|---|---|---|
| 2× Upscale | 12ms | 15ms | 450ms |
| Gaussian Blur | 8ms | 10ms | 180ms |
| Edge Detection | 5ms | 7ms | 120ms |
| Color Conversion | 3ms | 4ms | 45ms |
./scripts/setup.sh ./scripts/run.sh
docker build -t hybrid-compute . docker run --rm hybrid-compute
brew install --cask miniforge mamba install opencv cmake mkdir build && cd build cmake .. && make
sudo apt install cmake libopencv-dev mkdir build && cd build cmake .. && make
This project would not have been possible without OpenCode Zen and Kilo Gateway.
This project is being acquired by libnudget, a startup building the future of hybrid compute infrastructure.