Skip to content
  • Deven Desai's avatar
    312c8e77
    Fix for the HIP build+test errors. · 312c8e77
    Deven Desai authored
    Recent changes have introduced the following build error when compiling with HIPCC
    
    ---------
    
    unsupported/test/../../Eigen/src/Core/GenericPacketMath.h:254:58: error:  'ldexp':  no overloaded function has restriction specifiers that are compatible with the ambient context 'pldexp'
    
    ---------
    
    The fix for the error is to pick the math function(s) from the global namespace (where they are declared as device functions in the HIP header files) when compiling with HIPCC.
    312c8e77
    Fix for the HIP build+test errors.
    Deven Desai authored
    Recent changes have introduced the following build error when compiling with HIPCC
    
    ---------
    
    unsupported/test/../../Eigen/src/Core/GenericPacketMath.h:254:58: error:  'ldexp':  no overloaded function has restriction specifiers that are compatible with the ambient context 'pldexp'
    
    ---------
    
    The fix for the error is to pick the math function(s) from the global namespace (where they are declared as device functions in the HIP header files) when compiling with HIPCC.
Loading