Git Product home page Git Product logo

sushi's Introduction

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 ( http://mil-tokyo.github.io/miljs.html ).

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

node.js

cd test
node main

If you want to use WebCL, install node-webcl https://github.com/mikeseven/node-webcl

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

Try

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: https://github.com/mil-tokyo/node-webcl/tree/opencl11_fix

Simple installation:

npm install https://github.com/mil-tokyo/node-webcl/archive/opencl11_fix.tar.gz

Browsers

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

Please Contribute to the Fastest Matrix Library

Contact me [email protected]

sushi's People

Contributors

kilojapan avatar milhidaka avatar

Watchers

James Cloos avatar Yuichiro Kikura avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.