Skip to content
forked from ROCm/HIPIFY

HIPIFY: Convert CUDA to Portable C++ Code

License

Notifications You must be signed in to change notification settings

aakanksha555/HIPIFY

 
 

Repository files navigation

HIPIFY

HIPIFY is a set of tools that you can use to automatically translate CUDA source code into portable HIP C++.

Documentation

Documentation for HIPIFY is available at https://rocmdocs.amd.com/projects/HIPIFY/en/latest/.

To build our documentation locally, run the following code.

cd docs

pip3 install -r .sphinx/requirements.txt

python3 -m sphinx -T -E -b html -d _build/doctrees -D language=en . _build/html

To build CUDA2HIP (CUDA APIs supported by HIP) documentation, run the following hipify-clang command. This builds the same content as Supported CUDA APIs.

hipify-clang --md --doc-format=full --doc-roc=joint

# Alternatively, you can use:

hipify-clang --md --doc-format=full --doc-roc=separate

To generate this documentation in CSV, use the --csv option instead of --md. Instead of using the full format, you can also build in strict or compact format.

To see all available options, use the --help or --help-hidden hipify-clang option.

About

HIPIFY: Convert CUDA to Portable C++ Code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 46.5%
  • Cuda 42.7%
  • Perl 10.3%
  • CMake 0.2%
  • Python 0.2%
  • Shell 0.1%