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

SpMV-Opt/HIPIFY

 
 

Repository files navigation

HIPIFY

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

Table of Contents

Documentation

Information about HIPIFY and other user topics is found in the HIPIFY documentation.

How to build HIPIFY documentation

Run the steps below to build the HIPIFY documentation locally.

cd docs

pip3 install -r .sphinx/requirements.txt

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

How to build CUDA2HIP documentation

Run the following hipify-clang command to build the documentation for CUDA APIs supported by HIP (CUDA2HIP) locally.

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

By the above command, the CUDA2HIP documentation will be generated the same and in the same format as provided in the Supported CUDA APIs section.

To generate CUDA2HIP documentation in CSV use the --csv option instead of --md.

Besides the full format, CUDA2HIP documentation can also be generated in strict or compact format.

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

Disclaimer

The information contained herein is for informational purposes only, and is subject to change without notice. While every precaution has been taken in the preparation of this document, it may contain technical inaccuracies, omissions and typographical errors, and AMD is under no obligation to update or otherwise correct this information. Advanced Micro Devices, Inc. makes no representations or warranties with respect to the accuracy or completeness of the contents of this document, and assumes no liability of any kind, including the implied warranties of noninfringement, merchantability or fitness for particular purposes, with respect to the operation or use of AMD hardware, software or other products described herein. No license, including implied or arising by estoppel, to any intellectual property rights is granted by this document. Terms and limitations applicable to the purchase or use of AMD's products are as set forth in a signed agreement between the parties or in AMD's Standard Terms and Conditions of Sale.

AMD, the AMD Arrow logo, and combinations thereof are trademarks of Advanced Micro Devices, Inc. Other product names used in this publication are for identification purposes only and may be trademarks of their respective companies.

Copyright © 2016-2023 Advanced Micro Devices, Inc. All rights reserved.

About

HIPIFY: Convert CUDA to Portable C++ Code

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 50.3%
  • Cuda 38.6%
  • Perl 10.5%
  • CMake 0.3%
  • Python 0.2%
  • Shell 0.1%