https://github.com/jhb/gpgpu
Experiments with GPGPU using python
https://github.com/jhb/gpgpu
Last synced: 3 months ago
JSON representation
Experiments with GPGPU using python
- Host: GitHub
- URL: https://github.com/jhb/gpgpu
- Owner: jhb
- License: gpl-3.0
- Created: 2018-11-30T12:10:54.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-30T14:16:07.000Z (over 6 years ago)
- Last Synced: 2025-02-24T07:58:57.744Z (3 months ago)
- Language: Python
- Size: 61.5 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gpgpu
Experiments with GPGPU using pythonHere you find example code from me learning to use CUDA for Graphs, using python and numba.
- [python_cuda_graph.md](python_cuda_graph.md) - the main article
- [creategraph.py](creategraph.py) creates a random sample graph, and writes it out to the files nodes_10.txt and
edges_10.txt (for a graph with 10 nodes)
- [rendergraph.py](rendergraph.py) visualizes the graph using graphviz/dot, e.g. into
[graph.png](graph.png)
- [readgraph.py](readgraph.py) is used to read in the data
- [bfs4.py](bfs4.py) is an example to run a breadth-first-search on the graph, using CUDA.