0.0.5 • Published 12 months ago

webnode-gpu v0.0.5

Weekly downloads
-
License
APACHE V2
Repository
github
Last release
12 months ago

nodegpu, bringing the bindings of webgpu to node

Brings over the webgpu spec into node, initially done to test compute shader code.

Installation

Make sure you have the following dependencies as they are needed to build dawn from source. The build process takes a while, npm install looks like its hanging but thats cmake running.

Usage

import nodegpu from "webnode-gpu";
const gpu = nodegpu.create([]);
const adapter = await gpu.requestAdapter();
const adapterInfo = await adapter.requestAdapterInfo();
console.log(adapterInfo.description);

Tested on

  • MacOS ✅
  • Windows ❌
  • Linux ❌
0.0.5

12 months ago

0.0.4-a

12 months ago

0.0.4

12 months ago

0.0.3

12 months ago

0.0.2

12 months ago