Hyunjin — a brand new, from-scratch CUDA RC5-72 core

\n studio-striking\n

Message boards : Number crunching : Hyunjin — a brand new, from-scratch CUDA RC5-72 core
Message board moderation

To post messages, you must log in.

AuthorMessage
Alperen Yavuz

Send message
Joined: 8 Dec 25
Posts: 11
Credit: 17,179,011
RAC: 37
Message 8783 - Posted: 1 Sep 2026, 11:58:43 UTC

HYUNJIN - A Brand New, From-Scratch CUDA RC5-72 Core

For distributed.net / Moo! Wrapper | NVIDIA GPUs | Coded by Alperen Yavuz

Hello distributed.net / Moo! Wrapper community!

I am proud to present Hyunjin - a completely original, from-scratch GPU core for the RC5-72 project. This is NOT a repackaging, fork, or port of any already-existing RC5-72 core; it is an independent, standalone system of its own, sharing only the standard RC5-72 work-unit format with the wider ecosystem. Everything else - kernel, host driver, dnetc shim, BOINC integration - is built from zero with its own separate design and codebase.

What it is


    [*] A modern CUDA-C implementation of RC5-72 (RC5-32/12/16, 72-bit key)
    [*] Delivered as a ready-to-run client for the Moo! Wrapper BOINC project
    [*] Three equivalent implementations, all bit-identical, all passing the official self-test vectors:
    [list=a]
    [*] CUDA-C core (authoritative) -> src/hyunjin_r72_cuda.cu
    [*] CUDA.jl port (research) -> julia/
    [*] CUDA Fortran (legacy) -> legacy/



Supported hardware (compiled-in GPU_ARCHS)


    [*] Ampere -> RTX 30xx, A-series (sm_80)
    [*] Hopper -> H100, H200, RTX 40xx (sm_90)
    [*] Blackwell -> RTX 50xx (sm_100 / sm_120)



Correctness - proven, not promised


    [*] Official dnetc RC5-72 test vector #0 found: key 85 FEE1D4C0 53030CC9 @ iteration offset 65157
    [*] dnetc -test rc5-72 5 -> 32/32 Tests Passed (shipped Windows client; Hyunjin sits at core index #5)
    [*] Standalone validator: scripts/build-selftest-linux.sh -> "ALL TESTS PASSED - Hyunjin CUDA-C core is sound."



Performance notes


    [*] HYUNJIN_PIPELINE = 4 -> 4 keys per thread per pipeline stage
    [*] Per-thread key schedule expansion, overlapped with encryption
    [*] Match bitsets compressed per thread -> host transfers results only when a match actually occurred
    [*] RC5-72 is key-agile: the pipeline hides key-schedule latency - exactly where Ampere / Hopper / Blackwell pay off



Ready-to-run packages (all in one release)


    [*] Windows x86_64 -> standalone .exe + full BOINC ZIP
    [*] Linux x86_64 -> tarball (client + BOINC files)
    [*] Linux aarch64 -> tarball for ARM64 boards



Every archive ships the complete, end-user-ready BOINC anonymous-application set:


    [*] app_info.xml -> BOINC anonymous-app descriptor
    [*] app_config.xml -> resource guard (max_concurrent=1)
    [*] job.xml -> launcher control file
    [*] dnetc.ini -> client config, Hyunjin core ([rc5-72] core = 5)
    [*] INSTALL.txt -> step-by-step install guide + troubleshooting



Quick start on BOINC (Moo! Wrapper)

1. Find your BOINC data directory


    [*] Windows -> C:\ProgramData\BOINC\
    [*] Linux -> ~/BOINC (or /var/lib/boinc-client/)


2. Copy ALL package files into the project slot -> ...\projects\moowrap.net\ (Linux: projects/moowrap.net/)
3. Restart BOINC (or hit Scan) and wait for a work unit
4. Confirm it is alive - the slot log stderr.txt shows:

"Hyunjin RC5-72 CUDA core v1.0 - coded by Alperen Yavuz"


Where to find everything



Support the project

If you enjoy running this core, a donation is very welcome:

Donate: coff.ee/alplix

Feedback, benchmark logs and architecture-specific tuning ideas are very welcome - let's benchmark these GPUs!

- Alperen Yavuz

ID: 8783 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Alperen Yavuz

Send message
Joined: 8 Dec 25
Posts: 11
Credit: 17,179,011
RAC: 37
Message 8786 - Posted: 1 Sep 2026, 12:01:16 UTC

up
ID: 8786 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
stiwi

Send message
Joined: 18 May 13
Posts: 15
Credit: 38,494,432
RAC: 2
Message 8787 - Posted: 1 Sep 2026, 20:28:10 UTC

On my 3060m I got Errors:
https://moowrap.net/result.php?resultid=288915705
ID: 8787 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
bluestang

Send message
Joined: 31 Mar 18
Posts: 29
Credit: 2,810,955,436
RAC: 0
Message 8788 - Posted: 1 Sep 2026, 22:05:41 UTC

It is the OpenCL 64bit app we need not CUDA.
ID: 8788 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
catavalon21

Send message
Joined: 2 Oct 25
Posts: 3
Credit: 211,944
RAC: 15
Message 8789 - Posted: 2 Sep 2026, 0:09:04 UTC

I guess my Ubuntu install is missing something...
<core_client_version>8.2.13</core_client_version>
<![CDATA[
<message>
process exited with code 127 (0x7f, -129)</message>
<stderr_txt>
../../projects/moowrap.net/dnetc_hyunjin_1.0_linux_x86_64: error while loading shared libraries: libcudart.so.13: cannot open shared object file: No such file or directory

</stderr_txt>
]]>
ID: 8789 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
catavalon21

Send message
Joined: 2 Oct 25
Posts: 3
Credit: 211,944
RAC: 15
Message 8790 - Posted: 2 Sep 2026, 0:11:01 UTC - in response to Message 8788.  

True (OpenCL apps are FAR faster than stock CUDA apps); however, if the new app is fast enough... :-)
ID: 8790 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
catavalon21

Send message
Joined: 2 Oct 25
Posts: 3
Credit: 211,944
RAC: 15
Message 8791 - Posted: 2 Sep 2026, 0:41:03 UTC

The Windows side has issues as well. Existing install returning valid tasks; closed BOINC; copied all unzipped files to project data directors; restarted BOINC, which proceeded to crap the bed.

https://moowrap.net/result.php?resultid=288949806 is representative of Win errors encountered.
ID: 8791 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Alperen Yavuz

Send message
Joined: 8 Dec 25
Posts: 11
Credit: 17,179,011
RAC: 37
Message 8792 - Posted: 2 Sep 2026, 1:53:18 UTC

All issues have been resolved. Requesting an OpenCL implementation is pointless; CUDA is faster by default.
ID: 8792 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
stiwi

Send message
Joined: 18 May 13
Posts: 15
Credit: 38,494,432
RAC: 2
Message 8793 - Posted: 2 Sep 2026, 21:30:12 UTC - in response to Message 8792.  

All issues have been resolved. Requesting an OpenCL implementation is pointless; CUDA is faster by default.


Is there a new version? My test was with "hyunjin_windows_x86_64_cuda_custom_v1.2" so didn't worked for me
ID: 8793 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
bluestang

Send message
Joined: 31 Mar 18
Posts: 29
Credit: 2,810,955,436
RAC: 0
Message 8794 - Posted: 3 Sep 2026, 23:40:39 UTC - in response to Message 8792.  
Last modified: 4 Sep 2026, 0:23:12 UTC

All issues have been resolved. Requesting an OpenCL implementation is pointless; CUDA is faster by default.

Not the current CUDA app. I specifically have my configuration set to get and run only OpenCL on my NVIDIA GPUs (not 5000 series obviously) for Moo on Windows because it is significantly faster than the CUDA. OpenCL beats out CUDA on a few projects by far.

Can you do anything with this pull request info?...
https://github.com/dcti/dnetc-client-base/pull/25

Appreciate your effort!

EDIT: Tried your CUDA for Windows app, but why is it showing OpenCL and not CUDA for WUs? File shows OpenCL as well. Makes no sense.

Either way, errored out on 10 seconds or so on 3080ti and 5070ti.
ID: 8794 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
stiwi

Send message
Joined: 18 May 13
Posts: 15
Credit: 38,494,432
RAC: 2
Message 8798 - Posted: 12 Sep 2026, 7:08:16 UTC

I’ve now tested it on Linux as well, but it didn’t work there either. So the app doesn’t work for me on either Linux or Windows.
ID: 8798 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Message boards : Number crunching : Hyunjin — a brand new, from-scratch CUDA RC5-72 core


 
Copyright © 2011-2026 Moo! Wrapper Project