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-componentThe documentation site is in packages/doc-site.
To setup and display documentation locally:
$ cd packages/doc-site
$ pnpm i
$ pnpm startThe documentation code examples are packages/examples
To setup and run a code example locally:
$ cd packages/examples
$ pnpm i
$ pnpm devThe benchmarks project is in packages/bench.
To run the benchmark script:
$ cd packages/bench
$ pnpm i
$ pnpm benchresults are appended to the file: benchmarks.csv.