GPU fixes#58
Conversation
PR #58 Review — "GPU fixes" linkVerdict: approve with minor suggestions. All CI checks pass (fmt / clippy / build & test / bench), I also ran What the PR does (TL;DR)
What's great
Suggestions / things to consider
Correctness spot-checks I did
Nice fix — the previous GPU cancel path was a real silent-failure bug and this replaces it with something simpler and more auditable. |
n13
left a comment
There was a problem hiding this comment.
Nice let's ship it!
Check the AI comments, some of these things should be a follow up PR or in this PR if easy to do but it certainly beats GPU mining not working at all
Turns out our cancellation flag strategy was completely broken. GPUs can't check updates to VRAM mid-dispatch. This changes the cancellation strategy to live entirely in rust. It is defined by --cpu-batch-size and --gpu-batch-size CLI args.
The logs are also improved now.