Cuvec

Latest version: v6.0.1

Safety actively analyzes 710445 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 7

2.1.2

- fix external allocation (https://github.com/python/cpython/pull/24283)

2.1.1

- catch exceptions
- update `__init__` keywords
- build updates
+ add `CUVEC_DEBUG` flag (default: `OFF`)
+ use CMake `add_compile_definitions`
- test updates
+ increase verbosity
- documentation updates
+ add contributing notes
* using editable install & `pytest`
- misc tidy
+ clean `asarray` implementation

2.1.0

- add `asarray` convenience for wrapping external libraries
- minor code tidy

2.0.1

- add external project usage documentation
- add more accurate build warning message

2.0.0

- add seamless `numpy`-like functionality
+ rename `cuvec.from_numpy()` => `cuvec.copy()`
+ make `cuvec.zeros()` and `cuvec.copy()` return `numpy.ndarray`-like objects
- fix potential installation errors
- add complete documentation
- add citation information

1.0.0

Unifying Python/C++/CUDA memory: Python buffered array <-> C++11 ``std::vector`` <-> CUDA managed memory.

- Provides creation functions
+ Python object
* `zeros`
* `from_numpy`
+ C++ vector
* `CuVec<T>` with identical interface as `std::vector<T>`
+ CPython API (castable to `PyObject *`)
* `PyCuVec<T> *PyCuVec_zeros(std::vector<Py_ssize_t> shape);`
* `PyCuVec<T> *PyCuVec_zeros_like(PyCuVec<T> *other);`
* `PyCuVec<T> *PyCuVec_deepcopy(PyCuVec<T> *other);`
- Quick start documentation
- 100% test coverage
- Allows CUDA-free installation for `sdist`

Requires a C++11 compiler, CUDA compiler, and an NVIDIA GPU with compute capability 3.5 or greater.
Python functionality requires Python 3.6 or greater.

Page 6 of 7

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.