webnode-gpu
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i webnode-gpu

Weekly Downloads

0

Version

0.0.5

License

APACHE V2

Unpacked Size

19.9 kB

Total Files

11

Last publish

Collaborators

  • diogodacruz