Giter Site home page Giter Site logo

stjordanis / pyopencl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from inducer/pyopencl

0.0 3.0 0.0 5.41 MB

OpenCL integration for Python, plus shiny features

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

License: Other

Makefile 0.03% Python 60.39% Vim Script 0.19% C 17.31% C++ 21.84% Shell 0.24%

pyopencl's Introduction

PyOpenCL: Pythonic Access to OpenCL, with Arrays and Algorithms

Gitlab Build Status

Github Build Status

Python Package Index Release Page

Zenodo DOI for latest release

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.)

pyopencl's People

Contributors

inducer avatar yuyichao avatar mattwala avatar isuruf avatar benma avatar alexfikl avatar matthiasdiener avatar kaushikcfd avatar gaohao95 avatar zachjweiner avatar maweigert avatar rebecca-palmer avatar shane-j-latham avatar gmagno avatar jonnoftw avatar zehanort avatar shahzaibgill avatar cgohlke avatar adityapb avatar hrfuller avatar eynuel avatar sirver avatar stefanv avatar gw0 avatar cancan101 avatar geggo avatar kif avatar polarnick239 avatar drewbo avatar yxliang01 avatar

Watchers

James Cloos avatar STYLIANOS IORDANIS 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.