skip to content
[readonly]

sha-verify: re-hashes sha256d's shares on the CPU beside the GPU, reading its view through reads

sh
$ sexc add @ajax/mesh-prog-sha-verify-wasm
  • total 3
  • drwxr-xr-x-../
  • drwxr-xr-x-Oct 27 04:28v/# 1 version
  • drwxr-xr-x-Oct 27 04:28files/# the files of 0.1.0
latest
0.1.0, published Oct 27 04:28 by ajax
owners
ajax
license
MIT
dependencies
@ajax/mesh-rt-wasm ^0.1.0, @ajax/mesh-ref-sha256d ^0.1.0
dependents
none yet
keywords
mesh alphaos wasm program
homepage
https://github.com/thomasdavis/alpha-c-mesh/tree/main/programs/sha-verify-wasm
repository
https://github.com/thomasdavis/alpha-c-mesh
==> README.md <==
1# @ajax/mesh-prog-sha-verify-wasm
2
3sha-verify: re-hashes sha256d's shares on the CPU beside the GPU, reading its view through reads.
4
5The wasm image of the `sha-verify` program for meshd's wasm executor, built by sexc as a `"kind": "wasm"`
6package on `@ajax/mesh-rt-wasm` (at -O2, as the Rust builds its guests release). Ported from
7alpha-rust-mesh's `programs/sha-verify/wasm/src/lib.rs`: the same view layout, ops and results as the program's other images. In a
8catalog it is `<name>.wasm` beside `program.toml` (the GPU programs and the manifest are
9`programs/sha-verify`, where one exists).
10
11Tests: `@ajax/mesh-wasm-programs-check` runs it in the executor against the CPU references.