Coder Social home page Coder Social logo

hip-compatibility-check's Introduction

HIP Compatibility Check

Using regex search to check whether certain CUDA application is able to be ported to HIP using HIPIFY.

The latest CUDA Runtime API functions supported by HIP is here, https://github.com/ROCm-Developer-Tools/HIP/blob/master/docs/markdown/CUDA_Runtime_API_functions_supported_by_HIP.md

and I just reorganized the format for the convenience of Shell Programming. The table can be found in cuda2hip.md.

Usage

  1. Change the SOURCE_DIR variable in regex.sh to your own CUDA project directory.
  2. Make sure the format style of cuda2hip.md or CUDA2HIP_FILE is a pure table in markdown, and the content is the latest.
  3. Run ./regex.sh, and if there is any function call, data types, definition, etc. not supported by HIP, the codes together with source name will be printed.

Note

The data types used by CUDA Runtime MAJOR_VERSION & MINOR_VERSION must be excluded from the CUDA2HIP_FILE or the results will be confusing.

hip-compatibility-check's People

Contributors

ueqri avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.