Skip to content
Go to file

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Sushi JavaScript Library

The Fastest Matrix Library for JavaScript

Sushi is being developed to be the fastest matrix library for JavaScript. Tempura and Soba go well with Sushi.

Related papers are available ( ).

Technical Features

Use of Typed Array

Faster than other matrix libraries which use javascript array.

Support of WebCL

You can use WebCL and get at most 30 times faster calculation speed. Three implementations

are supported.

How to Try


cd test
node main

If you want to use WebCL, install node-webcl

Currently, WebCL is supported by node v0.10.29, node-webcl v0.8.3 or v0.9.2


npm install node-webcl

However, current nvidia driver only supports OpenCL 1.1, which is not compatible with node-webcl 0.9.0 or later. OpenCL 1.1 is supported by node-webcl v0.8.3, but unfortunately it has a small bug. So we provide bugfix version here:

Simple installation:

npm install


Open test/main.html with your browser. Chromium-WebCL supports WebCL without any plugins. Firefox requires Nokia WebCL ( ) to use WebCL with it.

Please Contribute to the Fastest Matrix Library

Contact me

You can’t perform that action at this time.