Skip to content

inducer/pycuda

main
Switch branches/tags
Code

Latest commit

commit c1f21281d85952e576c6ae0d41b2e1f94ea206d7
Merge: 2b10eb4 db77dc7
Author: Mit Kotak <mitak2@illinois.edu>
Date:   Tue Aug 9 15:46:55 2022 -0500

    Merge branch 'main' into gpuarray_zeros

commit 2b10eb466a275f3ec32923435ac47c5cf9a80aad
Merge: 601036d 09fd4c3
Author: Mit Kotak <mitak2@illinois.edu>
Date:   Tue Aug 9 14:26:42 2022 -0500

    merged complex changes

commit 601036df6e4dfbe70169a9f00476ea404602814c
Merge: 0c835ea 540bf67
Author: Mit Kotak <mitak2@illinois.edu>
Date:   Thu Aug 4 23:02:36 2022 -0500

    Merge branch 'gpuarray_zeros' of https://gitlab.tiker.net/kaushikcfd/pycuda into gpuarray_zeros

commit 0c835ea23b6568fee93ca217dd91aa606aa1eda0
Merge: 5ea3b74 0569ba1
Author: Mit Kotak <mitak2@illinois.edu>
Date:   Thu Aug 4 23:02:28 2022 -0500

    changed docs as well

commit 540bf673db56284d836d062586146aa97dadd02d
Author: Kaushik Kulkarni <kgk2@illinois.edu>
Date:   Fri Aug 5 04:00:42 2022 +0000

    Apply 1 suggestion(s) to 1 file(s)

commit 0569ba1b07ae44b68cad64c5e7ee369e244955dd
Author: Kaushik Kulkarni <kgk2@illinois.edu>
Date:   Sat Jul 2 23:23:17 2022 +0000

    Reduce test array size

commit 2a7fe4469c24905c338a9f0897d96d497bbf31b9
Author: Mit Kotak <mitak2@illinois.edu>
Date:   Sat Jul 2 13:09:01 2022 -0500

    added dtype default to gpuarray.zeros

commit 5ea3b744a8a4b6ba87d1d1d603d684ff4c29893d
Merge: 1425293 6daaeb1
Author: Mit Kotak <mitak2@illinois.edu>
Date:   Mon Jul 25 18:35:09 2022 -0500

    Merge branch 'gpuarray_zeros' of https://gitlab.tiker.net/kaushikcfd/pycuda into gpuarray_zeros

commit 6daaeb13f90f24d4377c8954af0e810df9059243
Author: Kaushik Kulkarni <kgk2@illinois.edu>
Date:   Sat Jul 2 23:23:17 2022 +0000

    Reduce test array size

commit 9827f9c04abfbe6de9fb9dfaad570d0bdae6f07f
Author: Mit Kotak <mitak2@illinois.edu>
Date:   Sat Jul 2 13:09:01 2022 -0500

    added dtype default to gpuarray.zeros

commit 14252930a1c89633a7f4c7c7ce6ce86e499ada3c
Author: Kaushik Kulkarni <kgk2@illinois.edu>
Date:   Sat Jul 2 23:23:17 2022 +0000

    Reduce test array size

commit b886882b561b25ce4110ca448d692f7612c399dc
Author: Mit Kotak <mitak2@illinois.edu>
Date:   Sat Jul 2 13:09:01 2022 -0500

    added dtype default to gpuarray.zeros
a25ed98

Git stats

Files

Permalink
Failed to load latest commit information.

PyCUDA: Pythonic Access to CUDA, with Arrays and Algorithms

Gitlab Build Status https://badge.fury.io/py/pycuda.png 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.