Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yuvix25/py2cuda

Convert Python 3 code to CUDA code.
https://github.com/yuvix25/py2cuda

converter cuda gpu gpu-acceleration python python3

Last synced: about 1 month ago
JSON representation

Convert Python 3 code to CUDA code.

Awesome Lists containing this project

README

        

# Py2CUDA
Convert python code to CUDA.

## Usage
To convert a python file say named `py_file.py` to CUDA, run `python generate_cuda.py --file py_file.py --arch {your_gpu_arch}`, (if `--arch` is not specified, `sm_61` will be used). Output will be saved in `./compiled`.
Example run: `python generate_cuda.py --file ./examples/test.py --arch sm_86`