GithubHelp home page GithubHelp logo

python-repository-hub / pyopencl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from inducer/pyopencl

0.0 0.0 0.0 5.65 MB

OpenCL integration for Python, plus shiny features

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

License: Other

Python 60.06% C 17.53% C++ 21.99% Makefile 0.03% Shell 0.20% Vim Script 0.19%

pyopencl's Introduction

PyOpenCL: Pythonic Access to OpenCL, with Arrays and Algorithms

Gitlab Build Status Github Build Status Python Package Index Release Page

PyOpenCL lets you access GPUs and other massively parallel compute devices from Python. It tries to offer computing goodness in the spirit of its sister project 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.
  • Completeness. PyOpenCL puts the full power of OpenCL's API at your disposal, if you wish. Every obscure get_info() query and all CL calls are accessible.
  • Automatic Error Checking. All CL errors are automatically translated into Python exceptions.
  • Speed. PyOpenCL's base layer is written in C++, so all the niceties above are virtually free.
  • Helpful and complete Documentation as well as a Wiki.
  • Liberal license. PyOpenCL is open-source under the MIT license and free for commercial, academic, and private use.
  • Broad support. PyOpenCL was tested and works with Apple's, AMD's, and Nvidia's CL implementations.

Simple 4-step install instructions using Conda on Linux and macOS (that also install a working OpenCL implementation!) can be found in the documentation.

What you'll need if you do not want to use the convenient instructions above and instead build from source:

  • gcc/g++ new enough to be compatible with pybind11 (see their FAQ)
  • numpy, and
  • an OpenCL implementation. (See this howto for how to get one.)

Links

pyopencl's People

Contributors

adityapb avatar ahnitz avatar alexfikl avatar benma avatar cancan101 avatar cgohlke avatar drewbo avatar eynuel avatar gaohao95 avatar geggo avatar gmagno avatar gw0 avatar hrfuller avatar inducer avatar isuruf avatar jonnoftw avatar kaushikcfd avatar kif avatar matthiasdiener avatar mattwala avatar maweigert avatar polarnick239 avatar rebecca-palmer avatar shahzaibgill avatar shane-j-latham avatar sirver avatar stefanv avatar yuyichao avatar zachjweiner avatar zehanort 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.