Giter Site home page Giter Site logo

sable / sciwasm.sparse Goto Github PK

View Code? Open in Web Editor NEW
7.0 15.0 2.0 1.29 MB

Hand-tuned WebAssembly implementations for efficient execution of web-based sparse computations including Sparse Matrix-Vector Multiplication (SpMV), sparse triangular solve (SpTS) and other useful sparse matrix operations.

License: MIT License

WebAssembly 67.39% Python 12.76% HTML 0.34% JavaScript 19.51%
webassembly javascript sparse-matrix spmv spts sparse-matrix-vector-multiplication sparse-triangular-solve matrix-structure-features vectorization gather-scatter

sciwasm.sparse's Introduction

SciWasm.Sparse

SciWasm.Sparse is a web-based computing framework that offers efficient and scalable sparse matrix CPU kernels to support high-performance computing in web browsers. It supports both serial and parallel Sparse BLAS Level II operations, element-wise operations, and conversion routines for a number of sparse matrix storage formats.

To run a serial single-precision sparse matrix-vector multiplication (SpMV) benchmark

cd sequential/tests
./run -b <browser> -p single -t spmv <matrix_market_input_file_path>

where <browser> is chrome for Google Chrome and firefox for Mozilla Firefox

Supported Sparse BLAS Level II Operations

Operation Description Implementation Status
SpMV Sparse Matrix-Vector Multiplication Available
SpTS Sparse Triangular Solve Available

Supported Element-Wise Operations

Operation Description Implementation Status
ceil ceiling function Available
floor floor function Available
deg2rad degrees to radians function Available
rad2deg radians to degrees function Available
expm1 exp(x) - 1 Available
log1p log(1 + x) Available
power power function Available
rint round function Available
trunc truncate function Available
sign sign indication Available
sin Trigonometric sine Available
tan Trigonometric tangent Available
sqrt square-root function Available
multiply element-wise multiply by scalar Available

Supported Format Conversion Operations

Operation Description Implementation Status
coo_csr COO to CSR Available
csr_dia CSR to DIA Available
csr_ell CSR to ELL Available

Other Supported Operations

Operation Description Implementation Status
transpose returns transposed sparse matrix Available
eliminate_zeros removes zero entries from the matrix Available

sciwasm.sparse's People

Contributors

pjots avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

spin000 djcas9

sciwasm.sparse's Issues

License?

I don't even see any copyright statements...

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.