• Po Yen Chen's avatar
    Add class type support for __builtin_amdgcn_readfirstlane() (#711) · 582e31e8
    Po Yen Chen authored
    * Add overloaded version of __builtin_amdgcn_readfirstlane()
    
    * Remove 'static' specifiers
    
    * Remove more 'static' specifier
    
    * Replace unsigne char by std::byte
    
    * Add 'const' specifier to never changing variable
    
    * Add 'inline' specifier to funcion definition
    
    * Fix wrong boundar calculation logic
    
    * Rename type trait
    
    * Remove std:: qualifier from standard types
    
    * Replace 'size_t' by 'unsigned'
    
    * Use type alias to hint usage
    
    * Replace static_for<> by ordinary 'for' loop
    
    * Rename readfirstlane() to amd_wave_read_first_lane()
    
    * Rename file readfirstlance.hpp as amd_wave_read_first_lane.hpp
    
    * Reorder statements
    582e31e8
common_header.hpp 1.71 KB