igneum/proto-cuda/nvrtc
igneum-labs f535abb59d One-click CUDA worker: driver API + NVRTC loaded at run time, pack read at run time, Mac emulation check
proto-cuda/nvrtc/worker.cpp serves igneum-miner's worker protocol with nothing installed but the NVIDIA driver:
nvcuda.dll and the redistributable nvrtc64_120_0.dll are opened with LoadLibrary (cuda_api.h), the pack's kernel.cu
and kernel_bound.cu are handed to NVRTC byte for byte up to the host launch wrappers with program.h and memhard.h as
named headers, every pack is self-tested against its vectors.h (cache head, last line, FNV-1a 64, dataset head, last
word, 64 samples, 96 vector lanes) before it serves a job, prepare runs on a thread for the hourly swap, and a job on
seeds without a pair makes the worker find the miner's pack by seeds.txt and build it. packfile.h (C99) reads a pack
directory. fetch-redist.sh verifies and stages the NVIDIA 12.8.93 redistributables and the Khronos headers
(THIRD-PARTY.md records URLs, hashes and the EULA clause); build-windows.sh cross-compiles with mingw (static,
KERNEL32 + Universal CRT only). emu/: the two libraries as host functions, the pack kernels on host threads, the NVRTC
source compared with the pack files; test.sh PASS on the Mac (two real packs, swap, self-heal, 17 sampled hashes equal
igneum-pow hash-bound). Not run here: the real NVRTC compile and driver load (RTX 5090 PC).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-04 09:55:05 +00:00
..
emu One-click CUDA worker: driver API + NVRTC loaded at run time, pack read at run time, Mac emulation check 2026-10-04 09:55:05 +00:00
build-windows.sh One-click CUDA worker: driver API + NVRTC loaded at run time, pack read at run time, Mac emulation check 2026-10-04 09:55:05 +00:00
cuda_api.h One-click CUDA worker: driver API + NVRTC loaded at run time, pack read at run time, Mac emulation check 2026-10-04 09:55:05 +00:00
fetch-redist.sh One-click CUDA worker: driver API + NVRTC loaded at run time, pack read at run time, Mac emulation check 2026-10-04 09:55:05 +00:00
packfile.h One-click CUDA worker: driver API + NVRTC loaded at run time, pack read at run time, Mac emulation check 2026-10-04 09:55:05 +00:00
THIRD-PARTY.md One-click CUDA worker: driver API + NVRTC loaded at run time, pack read at run time, Mac emulation check 2026-10-04 09:55:05 +00:00
worker.cpp One-click CUDA worker: driver API + NVRTC loaded at run time, pack read at run time, Mac emulation check 2026-10-04 09:55:05 +00:00