Stoneberry is a collection of core shaders for WebGPU. Prefix Scan, Reduce, Histogram, etc.
Documentation and examples of use are available at stoneberry.dev
The core library is in packages/stoneberry.
To setup and run tests:
$ cd packages/stoneberry
$ pnpm i
$ pnpm cypress-component
The documentation site is in packages/doc-site.
To setup and display documentation locally:
$ cd packages/doc-site
$ pnpm i
$ pnpm start
The documentation code examples are packages/examples
To setup and run a code example locally:
$ cd packages/examples
$ pnpm i
$ pnpm dev
The benchmarks project is in packages/bench.
To run the benchmark script:
$ cd packages/bench
$ pnpm i
$ pnpm bench
results are appended to the file: benchmarks.csv
.