Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 213 Bytes

File metadata and controls

11 lines (6 loc) · 213 Bytes

CUDAtoCPP

Goal: translating source-to-source CUDA to C++

Using clang's ASTs we translate the CUDA source code to C++.

To run the tool:

1- expand.sh progam.cu > temp.cu

2- translate.sh temp.cu > program.cpp