Giter Club home page Giter Club logo

sporco-cuda's Introduction

SPORCO-CUDA

Documentation Status PyPi Release Supported Python Versions Package License

SPORCO-CUDA provides GPU-accelerated versions of selected convolutional sparse coding algorithms in the SPORCO package. It is a component of SPORCO, and is subject to the same license, but is made available as an optional extension to avoid complicating the prerequisites and build/install procedure for the main part of SPORCO. If you use this software for published work, please cite it.

Documentation

Documentation is available online at Read the Docs, or can be built from the root directory of the source distribution by the command

python setup.py build_sphinx

in which case the HTML documentation can be found in the build/sphinx/html directory (the top-level document is index.html).

Usage

Scripts illustrating usage of the package can be found in the examples directory of the source distribution. These examples can be run from the root directory of the package by, for example

python examples/cmp_cbpdn.py

To run these scripts prior to installing the package, it is necessary to build it in place, which involves the following steps:

  • Install the requirements described below

  • If nvcc is not already in the executable search path, add it; e.g

    export PATH=$PATH:/usr/local/cuda-9.2/bin
    

    where /usr/local/cuda-9.2/bin is the path for CUDA compiler nvcc.

  • Build the sporco-cuda package in place:

    python setup.py build_ext --inplace
    
  • Set the PYTHONPATH environment variable to include the root directory of the package. For example, in a bash shell

    export PYTHONPATH=$PYTHONPATH:`pwd`
    

    from the root directory of the package.

  • If the sporco package is not installed, create a symlink from the SPORCO-CUDA package root directory to the sporco directory in the SPORCO package.

Requirements

The primary requirements are Python, sporco and its requirements, Cython, and the CUDA Toolkit.

Installation

See the installation instructions in the online documentation.

License

SPORCO-CUDA is part of the SPORCO package and is distributed with the same 3-Clause BSD license; see the LICENSE file for details.

sporco-cuda's People

Contributors

bwohlberg avatar davidfischer avatar

Watchers

James Cloos 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.