Python buffered array ↔ C++11 std::vector
↔ CUDA managed memory
3 May 2023 Casper da Costa-Luis
std::vector
allocators)float16
)__cuda_array_interface__
(Numba, CuPy, PyTorch, PyArrow, ArrayViews, JAX, PyCUDA, DALI, RAPIDS, ...)scikit-build
(CMake-driven build-system generator for CPython extensions)pyproject.toml
+ setup.py
+ CMakeLists.txt
python3.6 -m pip install cuvec
git_fame_plot("./cuvec", bytype=True)
Casper da Costa-Luis | ||
---|---|---|