• Yu Cheng's avatar
    [Bugfix] Fix logic error in ReduceOp when handling CUDA architecture (#316) · 19c85907
    Yu Cheng authored
    * [Bugfix] Fixed the handling logic of IfThenElseNode in if_stmt_binding
    
    * [Bugfix] Fix logic error in ReduceOp when handling CUDA architecture
    
    - Added a check for the existence of the target attribute "arch" to ensure that there is no undefined behavior when handling the specific architecture "sm_90". This change improves the robustness and compatibility of the code.
    19c85907
reduce.cc 7.68 KB