GithubHelp home page GithubHelp logo

hiidea / ia-spgemm Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 4.3 MB

An Input-aware Auto-tuning Framework for Parallel Sparse Matrix-Matrix Multiplication

Makefile 0.59% Python 2.73% C++ 27.65% C 62.26% Cuda 6.77%

ia-spgemm's Introduction

IA-SPGEMM

IA-SPGEMM is a An Input Auto-tuning Sparse General Matrix-Matrix Multiplication on Multicore and Manycore Architure. Currently supported components include:

  • SpGEMM algorithms for COO, DIA and ELL sparse storage format
  • Feature extraction and density representation
  • MatNet (mix CNN and BP)

All tests default calculate the square of A for matrix inputs.

The tool extracts all of the features and density representation as MatNet inputs.

It is easy to use and provide unified interface.

Getting Started

In IA-SPGEMM system, the goal is to search an optimal format and algorithm that minimizes computing overhead.

Setting up an IA-SPGEMM is easy.

(1) run SpGEMM code on CPU with auto-tuning in double precision

cd ./IA-SPGEMM-CPU_release;
make;
./spgemm-cpu Inputs/dia.mtx;

(2) run SpGEMM code on GPU with auto-tuning in double precision

cd ./IA-SPGEMM-GPU_release;
make;
./spgemm-gpu Inputs/dia.mtx;

Intel & AMD CPU example

NVIDIA GPU example

Requirement

  • Intel MKL 2018
  • CUSP v0.5.1
  • cuSPARSE v8.0
  • Python 3.6.2
  • tensorflow 1.4.0
  • keras 2.1.0

MatNet

Details of the neural network

Weights are in IA-SPGEMM-CPU_release/NetWeights and IA-SPGEMM-GPU_release/NetWeights

MatNet structure is below:

ia-spgemm's People

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.