@@ -523,7 +523,7 @@ std::tuple<torch::Tensor, torch::Tensor, std::vector<Tensor>> moe_permute_topK_o
523523
524524 break ;
525525 }
526- // #ifdef ENABLE_BF16
526+ #ifdef ENABLE_BF16
527527 case at::ScalarType::BFloat16:
528528 {
529529 using dType = cutlass::bfloat16_t ;
@@ -545,8 +545,8 @@ std::tuple<torch::Tensor, torch::Tensor, std::vector<Tensor>> moe_permute_topK_o
545545
546546 break ;
547547 }
548- // #endif
549- // #ifdef ENABLE_FP8
548+ #endif
549+ #ifdef ENABLE_FP8
550550 case at::ScalarType::Float8_e5m2:
551551 {
552552 using dType = cutlass::float_e5m2_t ;
@@ -589,7 +589,7 @@ std::tuple<torch::Tensor, torch::Tensor, std::vector<Tensor>> moe_permute_topK_o
589589
590590 break ;
591591 }
592- // #endif
592+ #endif
593593 default :
594594 throw std::runtime_error (" Wrong activation tensor type." );
595595 }
@@ -670,7 +670,7 @@ torch::Tensor moe_recover_topK_op(
670670
671671 break ;
672672 }
673- // #ifdef ENABLE_BF16
673+ #ifdef ENABLE_BF16
674674 case at::ScalarType::BFloat16:
675675 {
676676 using dType = cutlass::bfloat16_t ;
@@ -692,8 +692,8 @@ torch::Tensor moe_recover_topK_op(
692692
693693 break ;
694694 }
695- // #endif
696- // #ifdef ENABLE_FP8
695+ #endif
696+ #ifdef ENABLE_FP8
697697 case at::ScalarType::Float8_e5m2:
698698 {
699699 using dType = cutlass::float_e5m2_t ;
@@ -736,7 +736,7 @@ torch::Tensor moe_recover_topK_op(
736736
737737 break ;
738738 }
739- // #endif
739+ #endif
740740 default :
741741 throw std::runtime_error (" Wrong activation tensor type." );
742742 }
@@ -819,7 +819,7 @@ std::tuple<torch::Tensor, torch::Tensor> moe_recover_topK_bwd_op(
819819
820820 break ;
821821 }
822- // #ifdef ENABLE_BF16
822+ #ifdef ENABLE_BF16
823823 case at::ScalarType::BFloat16:
824824 {
825825 using dType = cutlass::bfloat16_t ;
@@ -844,8 +844,8 @@ std::tuple<torch::Tensor, torch::Tensor> moe_recover_topK_bwd_op(
844844
845845 break ;
846846 }
847- // #endif
848- // #ifdef ENABLE_FP8
847+ #endif
848+ #ifdef ENABLE_FP8
849849 case at::ScalarType::Float8_e5m2:
850850 {
851851 using dType = cutlass::float_e5m2_t ;
@@ -894,7 +894,7 @@ std::tuple<torch::Tensor, torch::Tensor> moe_recover_topK_bwd_op(
894894
895895 break ;
896896 }
897- // #endif
897+ #endif
898898 default :
899899 throw std::runtime_error (" Wrong activation tensor type." );
900900 }
0 commit comments