Skip to content

johnaparker/pybind_examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example and template Python/C++ projects using Pybind11

cpp_only

Python bindings for a C++ only code-base

cpp_submodule

C++ library operates as a submodule to a Python library, allowing mixed Python and C++ usage

hpc_example

An example of the cpp_submodule type project with examples relevant to high performance computing. It demonstrates computing the dot product of two arrays using:

  • Native Python
  • NumPy + Python
  • Serial C++
  • OpenMP parallelization C++
  • MPI parallelization C++
  • GPU CUDA C++

misc

Miscellaneous examples, including:

  • Interfacing with Eigen Tensors
  • A 2D grid interpolation to speedup SciPy's RegularGridInterpolator
  • Interfacing with CUDA's FFT library, CUFFT, and comparing performance to NumPy and PyFFTW

About

Examples of pybind11 based projects (using cmake)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published