• Lei Wang's avatar
    [Refactor] Enhance TMA barrier validation and support for additional architectures (#463) · f41c467c
    Lei Wang authored
    * Updated the TMA barrier validation in `inject_tma_barrier.cc` to check for non-empty `barrier_id_to_range_` before raising an error for missing `create_list_of_mbarrier`.
    * Refactored architecture checks in `phase.py` to utilize a new constant `SUPPORTED_TMA_ARCHS`, allowing for easier updates and improved readability in the target architecture validation logic.
    f41c467c
inject_tma_barrier.cc 10.6 KB