tools/amd_build/pyHIPIFY/hipify-python.py
def replace_forceinline(input_string):
    """__forceinline__'d methods can cause 'symbol multiply defined' errors in HIP.
    Adding 'static' to all such methods leads to compilation errors, so
    replacing '__forceinline__' with 'inline' as a workaround
    https://github.com/ROCm-Developer-Tools/HIP/blob/master/docs/markdown/hip_faq.md#what-if-hip-generates-error-of-symbol-multiply-defined-only-on-amd-machine
    """
    output_string = input_string
    output_string = re.sub("__forceinline__", "inline", output_string)
    return output_string
__forceinline__'d methods can cause 'symbol multiply defined' errors in HIP.
    Adding 'static' to all such methods leads to compilation errors, so
    replacing '__forceinline__' with 'inline' as a workaround
    https://github.com/ROCm-Developer-Tools/HIP/blob/master/docs/markdown/hip_faq.md#what-if-hip-generates-error-of-symbol-multiply-defined-only-on-amd-machine
    
forceinline__'d methods can cause 'symbol multiply defined' errors in HIP.
forceinline__ ' d methods can cause ' symbol multiply defined ' errors in HIP .
def replace_forceinline(input_string):
    output_string = input_string
    output_string = re.sub("__forceinline__", "inline", output_string)
    return output_string
def replace_forceinline ( input_string ) : output_string = input_string output_string = re . sub ( "__forceinline__" , "inline" , output_string ) return output_string
__forceinline__'d methods can cause 'symbol multiply defined' errors in HIP.
__forceinline__ ' d methods can cause ' symbol multiply defined ' errors in HIP .
"""__forceinline__'d methods can cause 'symbol multiply defined' errors in HIP.
    Adding 'static' to all such methods leads to compilation errors, so
    replacing '__forceinline__' with 'inline' as a workaround
    https://github.com/ROCm-Developer-Tools/HIP/blob/master/docs/markdown/hip_faq.md#what-if-hip-generates-error-of-symbol-multiply-defined-only-on-amd-machine
    """
input_string