ROCm / HIPIFY

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

[HIPIFY][#1553] Support for `math_constants.h` - Step 1 - headers #1558

Closed YuWei-CH closed 4 days ago

YuWei-CH commented 5 days ago

Hi,

This PR is try to solve "[HIPIFY][Issue] Support for math_constants.h in HIPify https://github.com/ROCm/HIPIFY/issues/1553". And here is my modifications:

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

Thank you.