HSAFoundation / HSA-Runtime-AMD

The HSA-Runtime
Other
48 stars 16 forks source link

Adding definition for ENDIAN macros #23

Open cosmologistPiyush opened 7 months ago

cosmologistPiyush commented 7 months ago

Due to the missing definition of custom macros i.e. LITTLEENDIAN_CPU and BIGENDIAN_CPU, rccl package (uses this library) fails to build on ppc64el.

This patch defines the missing macros based on the endianess of the machine as exposed by system's header files.