Skip to content

Yuvix25/Py2CUDA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published