Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dubzzz/cuda-mathmodule-for-python
Python module for Mathematics using CUDA
https://github.com/dubzzz/cuda-mathmodule-for-python
Last synced: about 1 month ago
JSON representation
Python module for Mathematics using CUDA
- Host: GitHub
- URL: https://github.com/dubzzz/cuda-mathmodule-for-python
- Owner: dubzzz
- License: mit
- Created: 2014-05-05T14:30:21.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-06-13T01:48:56.000Z (over 10 years ago)
- Last Synced: 2024-05-02T00:04:29.735Z (7 months ago)
- Language: Python
- Size: 355 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
cuda-mathmodule-for-python
==========================Python module for Linear Algebra computations using CUDA. The module relies on Cython and NumPy/C API.
Converting a NumPy array to a GPU-array:
```Python
import numpy as np, mathmodule as mm
numpy_array = np.random.random(5)
gpu_array = mm.PyVector(numpy_array)
```And GPU-array to NumPy array:
```Python
numpy_array = gpu_array.toNumPy()
```