Code Monkey home page Code Monkey logo

magmasharp's Introduction

MagmaSharp

MagmaSharp is .NET High Level API for MAGMA - Matrix Algebra for GPU and Multicore Architectures.

Only selected MAGMA routines are exposed in the API. Each method can run regardless of the CUDA present. In case the CUDA is not detected, the corresponded Lapack routine would be executed. On this way, the library can be execution engine for other .NET High Level APIs and libraries.

Implementation of MagmaSharp

Currently the library supports MAGMA driver routines for general rectangular matrix:

  1. gesv - solve linear system, AX = B, A is general non-symetric matrix,
  2. gels - least square solve, AX = B, A is rectangular,
  3. geev - eigen value solver for non-symetric matrix, AX = X lambda
  4. gesvd- singular value decomposition (SVD), A) U SIgma V^2H.

The library supports float and double value types only.

Software requirements

The project is build on .NET Core 3.1 and .NET Standard 2.1. It is built and tested on Windows 10 1909 only.

Software (Native Libraries) requirements

In order to compile, build and use the library the following native libraries are needed to be installed.

However, if you install the MAgmaSharp as Nuget package, both libraries are included, so you don't have to install it.

How to use MagmaSharp

MagmaSharp is packed as Nuget and can be added to your .NET project as ordinary .NET Nuget component. You don't have to worry about native libraries and dependencies. Everything is included in the package. The package can be installed from this link, or just search MagmaSharp.

How to Build MagmaSharp from the source

  1. Download the MagmaSharp source code from the GitHub page.
  2. Reference Magma static library and put it to folder MagmaLib.

Magma runtime location Magma static library can be downloaded and built from the Official site.

  1. Open 'MagmaSharp.sln' with Visual Studio 2019.
  2. Make Sure the building architecture is x64.
  3. Restore Nuget packages.
  4. Build and Run the Solution.

How to Tutorials

In this section we are going to provide you with the instruction how you can use the Library in your .NET projects.

magmasharp's People

Contributors

bhrnjica avatar

Stargazers

 avatar  avatar  avatar

Watchers

 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.