GithubHelp home page GithubHelp logo

lawfordp2017 / pycuda Goto Github PK

View Code? Open in Web Editor NEW

This project forked from inducer/pycuda

0.0 0.0 0.0 3 MB

CUDA integration for Python, plus shiny features

Home Page: http://mathema.tician.de/software/pycuda

License: Other

C++ 37.45% Python 62.08% Makefile 0.05% Cython 0.42%

pycuda's Introduction

PyCUDA: Pythonic Access to CUDA, with Arrays and Algorithms

Gitlab Build Status

image

Zenodo DOI for latest release

PyCUDA lets you access Nvidia's CUDA parallel computation API from Python. Several wrappers of the CUDA API already exist-so what's so special about PyCUDA?

  • Object cleanup tied to lifetime of objects. This idiom, often called RAII in C++, makes it much easier to write correct, leak- and crash-free code. PyCUDA knows about dependencies, too, so (for example) it won't detach from a context before all memory allocated in it is also freed.
  • Convenience. Abstractions like pycuda.driver.SourceModule and pycuda.gpuarray.GPUArray make CUDA programming even more convenient than with Nvidia's C-based runtime.
  • Completeness. PyCUDA puts the full power of CUDA's driver API at your disposal, if you wish. It also includes code for interoperability with OpenGL.
  • Automatic Error Checking. All CUDA errors are automatically translated into Python exceptions.
  • Speed. PyCUDA's base layer is written in C++, so all the niceties above are virtually free.
  • Helpful Documentation.

Relatedly, like-minded computing goodness for OpenCL is provided by PyCUDA's sister project PyOpenCL.

pycuda's People

Contributors

inducer avatar berlinguyinca avatar pierrepaleo avatar grlee77 avatar rybaktomasz avatar kaushikcfd avatar mitkotak avatar ahnitz avatar davidweichiang avatar seibert avatar bergtholdt avatar untom avatar gmarkall avatar vincefn avatar bmerry avatar npinto avatar fjarri avatar mistobaan avatar gthomascollignon avatar kynan avatar sjperkins avatar rutsky avatar bryancatanzaro avatar zzjjbb avatar cgohlke avatar loikki avatar zamorays avatar mbrubake avatar apark263 avatar bylamacq 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.