Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ROCm/HIPIFY
HIPIFY: Convert CUDA to Portable C++ Code
https://github.com/ROCm/HIPIFY
cuda2hip hipify hipify-clang hipify-perl
Last synced: 2 months ago
JSON representation
HIPIFY: Convert CUDA to Portable C++ Code
- Host: GitHub
- URL: https://github.com/ROCm/HIPIFY
- Owner: ROCm
- License: mit
- Created: 2020-03-02T22:10:40.000Z (almost 5 years ago)
- Default Branch: amd-staging
- Last Pushed: 2023-12-24T19:39:31.000Z (about 1 year ago)
- Last Synced: 2023-12-25T18:44:14.460Z (about 1 year ago)
- Topics: cuda2hip, hipify, hipify-clang, hipify-perl
- Language: C++
- Homepage:
- Size: 8.37 MB
- Stars: 328
- Watchers: 22
- Forks: 56
- Open Issues: 28
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
- Support: docs/supported_apis.md
Awesome Lists containing this project
README
# HIPIFY
HIPIFY is a set of tools that you can use to automatically translate CUDA source code into portable
[HIP](https://github.com/ROCm/HIP) C++.## Documentation
Documentation for HIPIFY is available at
[https://rocmdocs.amd.com/projects/HIPIFY/en/latest/](https://rocmdocs.amd.com/projects/HIPIFY/en/latest/).To build our documentation locally, run the following code.
```bash
cd docspip3 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](./docs/supported_apis.md#supported-cuda-apis).```bash
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.