-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Implement threaded BLAKE3 #25587
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement threaded BLAKE3 #25587
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some namespacing tips.
Also, a request: could you wait until I land #25592 (working on it) and then accept an Io parameter for doing the asynchronous work? I can help with this.
|
Sound good! Let's wait for the |
Allows BLAKE3 to be computed using multiple threads.
b0d3fcd to
9556ff0
Compare
* master: fix typo in std.debug.ElfFile.loadSeparateDebugFile Revert "ci: stop building FreeBSD module tests on x86_64-linux" Io: fix some horrible data races and UAFs caused by `Condition` misuse
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only had time for a short review but I found one issue:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good - this is the only requested change
Co-authored-by: Andrew Kelley <andrew@ziglang.org>
* master: Implement threaded BLAKE3 (ziglang#25587) std: Skip element comparisons if `mem.order` args point to same memory std.Target: bump vulkan max version to 1.4.331 std.Target: bump opencl/nvcl max version to 3.0.19 std.Target: bump cuda max version to 13.0.2 std.Target: bump amdhsa max version to 7.1.0 std.Target: bump wasi max version to 0.3.0 std.Target: bump dragonfly max version to 6.4.2 std.Target: bump linux max version to 6.17 std.Target: bump fuchsia max version to 28.0.0 std.Target: bump contiki max version to 5.1.0 test: remove some unsupported x86_64 darwin targets from llvm_targets std.os.windows: eliminate forwarder function in kernel32 (ziglang#25766)
Allows BLAKE3 to be computed using multiple threads.
Benchmarks (from https://github.com/jedisct1/zig-kangarootwelve):
Apple M1
AMD Zen4