ROCm / HIPIFY

HIPIFY: Convert CUDA to Portable C++ Code
MIT License
440 stars 69 forks source link

Support Math_constants.h #1557

Closed YuWei-CH closed 5 days ago

YuWei-CH commented 5 days ago

Hi,

This PR is try to solve "[HIPIFY][Issue] Support for math_constants.h in HIPify #1553". And here is my modifications:

  1. Add the mappings from to <hip/hip_math_constants.h> in hipify-perl and HIP2CUDA.cpp.
  2. Add a test case 13 for this modification.

Thank you.