onboard MoE #18279
onboard MoE #18279
reviewdog [cpplint] report
reported by reviewdog 🐶
Findings (144)
onnxruntime/contrib_ops/cuda/cuda_contrib_kernels.cc|258| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cuda/moe/ft_moe/common.h|19| Found C system header after C++ system header. Should be: common.h, c system, c++ system, other. [build/include_order] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/common.h|20| Found C system header after C++ system header. Should be: common.h, c system, c++ system, other. [build/include_order] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/common.h|21| Found C system header after C++ system header. Should be: common.h, c system, c++ system, other. [build/include_order] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/common.h|25| Include the directory when naming header files [build/include_subdir] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/common.h|26| Found C++ system header after other header. Should be: common.h, c system, c++ system, other. [build/include_order] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/common.h|72| Add #include for string [build/include_what_you_use] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/compute_occupancy.h|21| Include the directory when naming header files [build/include_subdir] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/compute_occupancy.h|27| Using deprecated casting style. Use static_cast(...) instead [readability/casting] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/cutlass_heuristic.cc|17| Include the directory when naming header files [build/include_subdir] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/cutlass_heuristic.cc|150| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cuda/moe/ft_moe/cutlass_heuristic.cc|163| Using deprecated casting style. Use static_cast(...) instead [readability/casting] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/cutlass_heuristic.cc|164| Using deprecated casting style. Use static_cast(...) instead [readability/casting] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/cutlass_heuristic.cc|167| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cuda/moe/ft_moe/cutlass_heuristic.cc|175| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cuda/moe/ft_moe/cutlass_heuristic.h|19| Include the directory when naming header files [build/include_subdir] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/cutlass_heuristic.h|21| Found C++ system header after other header. Should be: cutlass_heuristic.h, c system, c++ system, other. [build/include_order] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/cutlass_heuristic.h|22| Found C++ system header after other header. Should be: cutlass_heuristic.h, c system, c++ system, other. [build/include_order] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/cutlass_heuristic.h|23| Found C++ system header after other header. Should be: cutlass_heuristic.h, c system, c++ system, other. [build/include_order] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/epilogue_helpers.h|49| Using deprecated casting style. Use static_cast(...) instead [readability/casting] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/epilogue_helpers.h|50| Using deprecated casting style. Use static_cast(...) instead [readability/casting] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/epilogue_helpers.h|53| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cuda/moe/ft_moe/gemm_moe_problem_visitor.h|43| Include the directory when naming header files [build/include_subdir] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/gemm_moe_problem_visitor.h|57| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cuda/moe/ft_moe/gemm_moe_problem_visitor.h|74| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cuda/moe/ft_moe/layout_traits_helper.h|38| Missing username in TODO; it should look like "// TODO(my_username): Stuff." [readability/todo] [2]
onnxruntime/contrib_ops/cuda/moe/ft_moe/layout_traits_helper.h|77| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cuda/moe/ft_moe/layout_traits_helper.h|104| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cuda/moe/ft_moe/layout_traits_helper.h|129| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cuda/moe/ft_moe/layout_traits_helper.h|150| Could not find a newline character at the end of the file. [whitespace/ending_newline] [5]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_cutlass_kernel.h|43| Include the directory when naming header files [build/include_subdir] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_cutlass_kernel.h|44| Include the directory when naming header files [build/include_subdir] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_cutlass_kernel.h|84| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_cutlass_kernel.h|103| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_cutlass_kernel.h|265| Constructors callable with one argument should be marked explicit. [runtime/explicit] [5]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_cutlass_kernel.h|266| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_cutlass_kernel.h|267| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_cutlass_kernel.h|354| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_cutlass_kernel.h|375| Using deprecated casting style. Use static_cast(...) instead [readability/casting] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_cutlass_kernel.h|383| Using C-style cast. Use reinterpret_cast<char*>(...) instead [readability/casting] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_gemm_kernels.h|20| Include the directory when naming header files [build/include_subdir] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_gemm_kernels_fp16_fp16.cu|17| Include the directory when naming header files [build/include_subdir] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_gemm_kernels_fp32_fp32.cu|17| Include the directory when naming header files [build/include_subdir] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_gemm_kernels_template.h|32| Include the directory when naming header files [build/include_subdir] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_gemm_kernels_template.h|33| Include the directory when naming header files [build/include_subdir] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_gemm_kernels_template.h|34| Include the directory when naming header files [build/include_subdir] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_gemm_kernels_template.h|35| Include the directory when naming header files [build/include_subdir] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_gemm_kernels_template.h|39| Include the directory when naming header files [build/include_subdir] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_gemm_kernels_template.h|40| Include the directory when naming header files [build/include_subdir] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_gemm_kernels_template.h|42| Found C system header after other header. Should be: moe_gemm_kernels_template.h, c system, c++ system, other. [build/include_order] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_gemm_kernels_template.h|43| Found C system header after other header. Should be: moe_gemm_kernels_template.h, c system, c++ system, other. [build/include_order] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_gemm_kernels_template.h|44| Found C system header after other header. Should be: moe_gemm_kernels_template.h, c system, c++ system, other. [build/include_order] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_gemm_kernels_template.h|45| Found C++ system header after other header. Should be: moe_gemm_kernels_template.h, c system, c++ system, other. [build/include_order] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_gemm_kernels_template.h|87| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_gemm_kernels_template.h|175| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_gemm_kernels_template.h|209| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_gemm_kernels_template.h|381| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_gemm_kernels_template.h|143| Add #include for min [build/include_what_you_use] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_gemm_kernels_template.h|369| Add #include for string [build/include_what_you_use] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_gemm_kernels_template.h|719| Add #include for vector<> [build/include_what_you_use] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|32| Include the directory when naming header files [build/include_subdir] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|53| { should almost always be at the end of the previous line [whitespace/braces] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|110| { should almost always be at the end of the previous line [whitespace/braces] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|111| Redundant blank line at the start of a code block should be deleted. [whitespace/blank_line] [2]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|173| { should almost always be at the end of the previous line [whitespace/braces] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|374| { should almost always be at the end of the previous line [whitespace/braces] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|375| Use int16/int64/etc, rather than the C type long [runtime/int] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|400| { should almost always be at the end of the previous line [whitespace/braces] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|455| { should almost always be at the end of the previous line [whitespace/braces] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|459| Using C-style cast. Use static_cast(...) instead [readability/casting] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|460| { should almost always be at the end of the previous line [whitespace/braces] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|464| { should almost always be at the end of the previous line [whitespace/braces] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|466| Using C-style cast. Use static_cast(...) instead [readability/casting] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|470| { should almost always be at the end of the previous line [whitespace/braces] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|487| { should almost always be at the end of the previous line [whitespace/braces] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|505| { should almost always be at the end of the previous line [whitespace/braces] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|513| An else should appear on the same line as the preceding } [whitespace/newline] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|513| If an else has a brace on one side, it should have it on both [readability/braces] [5]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|527| { should almost always be at the end of the previous line [whitespace/braces] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|528| Redundant blank line at the start of a code block should be deleted. [whitespace/blank_line] [2]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|540| { should almost always be at the end of the previous line [whitespace/braces] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|546| { should almost always be at the end of the previous line [whitespace/braces] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|581| { should almost always be at the end of the previous line [whitespace/braces] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|588| Using C-style cast. Use reinterpret_cast<int*>(...) instead [readability/casting] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|591| Using C-style cast. Use reinterpret_cast<T*>(...) instead [readability/casting] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|593| Using C-style cast. Use reinterpret_cast<int64_t*>(...) instead [readability/casting] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|595| Using C-style cast. Use reinterpret_cast<T*>(...) instead [readability/casting] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|599| Using C-style cast. Use reinterpret_cast<T*>(...) instead [readability/casting] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|601| An else should appear on the same line as the preceding } [whitespace/newline] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|601| If an else has a brace on one side, it should have it on both [readability/braces] [5]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|628| { should almost always be at the end of the previous line [whitespace/braces] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|637| An else should appear on the same line as the preceding } [whitespace/newline] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|637| If an else has a brace on one side, it should have it on both [readability/braces] [5]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|642| An else should appear on the same line as the preceding } [whitespace/newline] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|642| If an else has a brace on one side, it should have it on both [readability/braces] [5]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|647| An else should appear on the same line as the preceding } [whitespace/newline] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|647| If an else has a brace on one side, it should have it on both [readability/braces] [5]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|666| Using C-style cast. Use reinterpret_cast<void*>(...) instead [readability/casting] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|734| { should almost always be at the end of the previous line [whitespace/braces] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|764| { should almost always be at the end of the previous line [whitespace/braces] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|793| { should almost always be at the end of the previous line [whitespace/braces] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|827| { should almost always be at the end of the previous line [whitespace/braces] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|852| { should almost always be at the end of the previous line [whitespace/braces] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|853| Redundant blank line at the start of a code block should be deleted. [whitespace/blank_line] [2]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|872| An else should appear on the same line as the preceding } [whitespace/newline] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|872| If an else has a brace on one side, it should have it on both [readability/braces] [5]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|875| An else should appear on the same line as the preceding } [whitespace/newline] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|875| If an else has a brace on one side, it should have it on both [readability/braces] [5]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|906| { should almost always be at the end of the previous line [whitespace/braces] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|933| { should almost always be at the end of the previous line [whitespace/braces] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|961| { should almost always be at the end of the previous line [whitespace/braces] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|976| An else should appear on the same line as the preceding } [whitespace/newline] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|976| If an else has a brace on one side, it should have it on both [readability/braces] [5]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|963| Add #include for min [build/include_what_you_use] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu|1074| Could not find a newline character at the end of the file. [whitespace/ending_newline] [5]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.h|19| Include the directory when naming header files [build/include_subdir] [4]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.h|61| Single-parameter constructors should be marked explicit. [runtime/explicit] [5]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.h|229| Could not find a newline character at the end of the file. [whitespace/ending_newline] [5]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_problem_visitor.h|62| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_problem_visitor.h|80| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_problem_visitor.h|108| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_problem_visitor.h|216| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cuda/moe/moe.cc|6| Include the directory when naming header files [build/include_subdir] [4]
onnxruntime/contrib_ops/cuda/moe/moe.cc|8| Do not use namespace using-directives. Use using-declarations instead. [build/namespaces] [5]
onnxruntime/contrib_ops/cuda/moe/moe.cc|9| Do not use namespace using-directives. Use using-declarations instead. [build/namespaces] [5]
onnxruntime/contrib_ops/cuda/moe/moe.cc|10| Do not use namespace using-directives. Use using-declarations instead. [build/namespaces] [5]
onnxruntime/contrib_ops/cuda/moe/moe.cc|30| Do not use namespace using-directives. Use using-declarations instead. [build/namespaces] [5]
onnxruntime/contrib_ops/cuda/moe/moe.cc|60| Missing username in TODO; it should look like "// TODO(my_username): Stuff." [readability/todo] [2]
onnxruntime/contrib_ops/cuda/moe/moe.cc|65| Missing username in TODO; it should look like "// TODO(my_username): Stuff." [readability/todo] [2]
onnxruntime/contrib_ops/cuda/moe/moe.cc|68| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cuda/moe/moe.cc|69| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cuda/moe/moe.cc|70| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cuda/moe/moe.cc|100| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cuda/moe/moe.cc|102| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cuda/moe/moe.cc|83| Add #include for move [build/include_what_you_use] [4]
onnxruntime/contrib_ops/cuda/moe/moe.h|14| Do not use namespace using-directives. Use using-declarations instead. [build/namespaces] [5]
onnxruntime/contrib_ops/cuda/moe/moe.h|23| Add #include for string [build/include_what_you_use] [4]
onnxruntime/core/graph/contrib_ops/contrib_defs.cc|1381| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/graph/contrib_ops/contrib_defs.cc|1382| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/graph/contrib_ops/contrib_defs.cc|1385| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/graph/contrib_ops/contrib_defs.cc|1386| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/graph/contrib_ops/contrib_defs.cc|1387| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/graph/contrib_ops/contrib_defs.cc|1388| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/graph/contrib_ops/contrib_defs.cc|1390| Lines should be <= 120 characters long [whitespace/line_length] [2]
Filtered Findings (817109)
build/Debug/CMakeFiles/3.27.7/CompilerIdC/CMakeCCompilerId.c|| No copyright message found. You should have a line: "Copyright [year] " [legal/copyright] [5]
build/Debug/CMakeFiles/3.27.7/CompilerIdC/CMakeCCompilerId.c|50| Weird number of spaces at line-start. Are you using a 2-space indent? [whitespace/indent] [3]
build/Debug/CMakeFiles/3.27.7/CompilerIdC/CMakeCCompilerId.c|54| Weird number of spaces at line-start. Are you using a 2-space indent? [whitespace/indent] [3]
build/Debug/CMakeFiles/3.27.7/CompilerIdC/CMakeCCompilerId.c|149| Weird number of spaces at line-start. Are you using a 2-space indent? [whitespace/indent] [3]
build/Debug/CMakeFiles/3.27.7/CompilerIdC/CMakeCCompilerId.c|154| Weird number of spaces at line-start. Are you using a 2-space indent? [whitespace/indent] [3]
build/Debug/CMakeFiles/3.27.7/CompilerIdC/CMakeCCompilerId.c|311| Weird number of spaces at line-start. Are you using a 2-space indent? [whitespace/indent] [3]
build/Debug/CMakeFiles/3.27.7/CompilerIdC/CMakeCCompilerId.c|333| Weird number of spaces at line-start. Are you using a 2-space indent? [whitespace/indent] [3]
build/Debug/CMakeFiles/3.27.7/CompilerIdC/CMakeCCompilerId.c|399| Lines should be <= 120 characters long [whitespace/line_length] [2]
build/Debug/CMakeFiles/3.27.7/CompilerIdC/CMakeCCompilerId.c|749| Missing space after , [whitespace/comma] [3]
build/Debug/CMakeFiles/3.27.7/CompilerIdC/CMakeCCompilerId.c|754| Weird number of spaces at line-start. Are you using a 2-space indent? [whitespace/indent] [3]
build/Debug/CMakeFiles/3.27.7/CompilerIdC/CMakeCCompilerId.c|760| Missing space after , [whitespace/comma] [3]
build/Debug/CMakeFiles/3.27.7/CompilerIdC/CMakeCCompilerId.c|767| Missing space after , [whitespace/comma] [3]
build/Debug/CMakeFiles/3.27.7/CompilerIdC/CMakeCCompilerId.c|768| Missing space after , [whitespace/comma] [3]
build/Debug/CMakeFiles/3.27.7/CompilerIdC/CMakeCCompilerId.c|769| Missing space after , [whitespace/comma] [3]
build/Debug/CMakeFiles/3.27.7/CompilerIdC/CMakeCCompilerId.c|778| Missing space after , [whitespace/comma] [3]
build/Debug/CMakeFiles/3.27.7/CompilerIdC/CMakeCCompilerId.c|783| Weird number of spaces at line-start. Are you using a 2-space indent? [whitespace/indent] [3]
build/Debug/CMakeFiles/3.27.7/CompilerIdC/CMakeCCompilerId.c|789| Missing space after , [whitespace/comma] [3]
build/Debug/CMakeFiles/3.27.7/CompilerIdCXX/CMakeCXXCompilerId.cpp|| No copyright message found. You should have a line: "Copyright [year] " [legal/copyright] [5]
build/Debug/CMakeFiles/3.27.7/CompilerIdCXX/CMakeCXXCompilerId.cpp|50| Weird number of spaces at line-start. Are you using a 2-space indent? [whitespace/indent] [3]
build/Debug/CMakeFiles/3.27.7/CompilerIdCXX/CMakeCXXCompilerId.cpp|54| Weird number of spaces at line-start. Are you using a 2-space indent? [whitespace/indent] [3]
build/Debug/CMakeFiles/3.27.7/CompilerIdCXX/CMakeCXXCompilerId.cpp|149| Weird number of spaces at line-start. Are you using a 2-space indent? [whitespace/indent] [3]
build/Debug/CMakeFiles/3.27.7/CompilerIdCXX/CMakeCXXCompilerId.cpp|154| Weird number of spaces at line-start. Are you using a 2-space indent? [whitespace/indent] [3]
build/Debug/CMakeFiles/3.27.7/CompilerIdCXX/CMakeCXXCompilerId.cpp|305| Weird number of spaces at line-start. Are you using a 2-space indent? [whitespace/indent] [3]
build/Debug/CMakeFiles/3.27.7/CompilerIdCXX/CMakeCXXCompilerId.cpp|327| Weird number of spaces at line-start. Are you using a 2-space indent? [whitespace/indent] [3]
build/Debug/CMakeFiles/3.27.7/CompilerIdCXX/CMakeCXXCompilerId.cpp|397| Lines should be <= 120 characters long [whitespace/line_length] [2]
build/Debug/CMakeFiles/3.27.7/CompilerIdCXX/CMakeCXXCompilerId.cpp|734| Missing space after , [whitespace/comma] [3]
build/Debug/CMakeFiles/3.27.7/CompilerIdCXX/CMakeCXXCompilerId.cpp|739| Weird number of spaces at line-start. Are you using a 2-space indent? [whitespace/indent] [3]
build/Debug/CMakeFiles/3.27.7/CompilerIdCXX/CMakeCXXCompilerId.cpp|745| Missing space after , [whitespace/comma] [3]
build/Debug/CMakeFiles/3.27.7/CompilerIdCXX/CMakeCXXCompilerId.cpp|752| Missing space after , [whitespace/comma] [3]
build/Debug/CMakeFiles/3.27.7/CompilerIdCXX/CMakeCXXCompilerId.cpp|753| Missing space after , [whitespace/comma] [3]
build/Debug/CMakeFiles/3.27.7/CompilerIdCXX/CMakeCXXCompilerId.cpp|754| Missing space after , [whitespace/comma] [3]
build/Debug/CMakeFiles/3.27.7/CompilerIdCXX/CMakeCXXCompilerId.cpp|763| Missing space after , [whitespace/comma] [3]
build/Debug/CMakeFiles/3.27.7/CompilerIdCXX/CMakeCXXCompilerId.cpp|768| Weird number of spaces at line-start. Are you using a 2-space indent? [whitespace/indent] [3]
build/Debug/CMakeFiles/3.27.7/CompilerIdCXX/CMakeCXXCompilerId.cpp|774| Missing space after , [whitespace/comma] [3]
build/Debug/CMakeFiles/3.27.7/CompilerIdCXX/CMakeCXXCompilerId.cpp|831| { should almost always be at the end of the previous line [whitespace/braces] [4]
build/Debug/_deps/abseil_cpp-src/absl/algorithm/algorithm.h|22| #ifndef header guard has wrong style, please use: BUILD_DEBUG__DEPS_ABSEIL_CPP_SRC_ABSL_ALGORITHM_ALGORITHM_H_ [build/header_guard] [5]
build/Debug/_deps/abseil_cpp-src/absl/algorithm/algorithm.h|159| #endif line should be "#endif // BUILD_DEBUG__DEPS_ABSEIL_CPP_SRC_ABSL_ALGORITHM_ALGORITHM_H_" [build/header_guard] [5]
build/Debug/_deps/abseil_cpp-src/absl/algorithm/algorithm.h|107| Add #include for forward [build/include_what_you_use] [4]
build/Debug/_deps/abseil_cpp-src/absl/algorithm/container.h|40| #ifndef header guard has wrong style, please use: BUILD_DEBUG__DEPS_ABSEIL_CPP_SRC_ABSL_ALGORITHM_CONTAINER_H_ [build/header_guard] [5]
build/Debug/_deps/abseil_cpp-src/absl/algorithm/container.h|1774| #endif line should be "#endif // BUILD_DEBUG__DEPS_ABSEIL_CPP_SRC_ABSL_ALGORITHM_CONTAINER_H_" [build/header_guard] [5]
build/Debug/_deps/abseil_cpp-src/absl/algorithm/equal_benchmark.cc|34| Using C-style cast. Use static_cast(...) instead [readability/casting] [4]
build/Debug/_deps/abseil_cpp-src/absl/base/attributes.h|34| #ifndef header guard has wrong style, please use: BUILD_DEBUG__DEPS_ABSEIL_CPP_SRC_ABSL_BASE_ATTRIBUTES_H_ [build/header_guard] [5]
build/Debug/_deps/abseil_cpp-src/absl/base/attributes.h|835| #endif line should be "#endif // BUILD_DEBUG__DEPS_ABSEIL_CPP_SRC_ABSL_BASE_ATTRIBUTES_H_" [build/header_guard] [5]
build/Debug/_deps/abseil_cpp-src/absl/base/call_once.h|25| #ifndef header guard has wrong style, please use: BUILD_DEBUG__DEPS_ABSEIL_CPP_SRC_ABSL_BASE_CALL_ONCE_H_ [build/header_guard] [5]
build/Debug/_deps/abseil_cpp-src/absl/base/call_once.h|219| #endif line should be "#endif // BUILD_DEBUG__DEPS_ABSEIL_CPP_SRC_ABSL_BASE_CALL_ONCE_H_" [build/header_guard] [5]
build/Debug/_deps/abseil_cpp-src/absl/base/call_once_test.cc|17| is an unapproved C++11 header. [build/c++11] [5]
build/Debug/_deps/abseil_cpp-src/absl/base/call_once_test.cc|64| Using C-style cast. Use reinterpret_cast<void*>(...) instead [readability/casting] [4]
build/Debug/_deps/abseil_cpp-src/absl/base/casts.h|24| #ifndef header guard has wrong style, please use: BUILD_DEBUG__DEPS_ABSEIL_CPP_SRC_ABSL_BASE_CASTS_H_ [build/header_guard] [5]
build/Debug/_deps/abseil_cpp-src/absl/base/casts.h|180| #endif line should be "#endif // BUILD_DEBUG__DEPS_ABSEIL_CPP_SRC_ABSL_BASE_CASTS_H_" [build/header_guard] [5]
build/Debug/_deps/abseil_cpp-src/absl/base/config.h|48| #ifndef header guard has wrong style, please use: BUILD_DEBUG__DEPS_ABSEIL_CPP_SRC_ABSL_BASE_CONFIG_H_ [build/header_guard] [5]
build/Debug/_deps/abseil_cpp-src/absl/base/config.h|937| #endif line should be "#endif // BUILD_DEBUG__DEPS_ABSEIL_CPP_SRC_ABSL_BASE_CONFIG_H_" [build/header_guard] [5]
build/Debug/_deps/abseil_cpp-src/absl/base/config.h|933| Weird number of spaces at line-start. Are you using a 2-space indent? [whitespace/indent] [3]
build/Debug/_deps/abseil_cpp-src/absl/base/const_init.h|22| #ifndef header guard has wrong style, please use: BUILD_DEBUG__DEPS_ABSEIL_CPP_SRC_ABSL_BASE_CONST_INIT_H_ [build/header_guard] [5]
build/Debug/_deps/abseil_cpp-src/absl/base/const_init.h|76| #endif line should be "#endif // BUILD_DEBUG__DEPS_ABSEIL_CPP_SRC_ABSL_BASE_CONST_INIT_H_" [build/header_guard] [5]
build/Debug/_deps/abseil_cpp-src/absl/base/dynamic_annotations.h|45| #ifndef header guard has wrong style, please use: BUILD_DEBUG__DEPS_ABSEIL_CPP_SRC_ABSL_BASE_DYNAMIC_ANNOTATIONS_H_ [build/header_guard] [5]
build/Debug/_deps/abseil_cpp-src/absl/base/dynamic_annotations.h|496| #endif line should be "#endif // BUILD_DEBUG__DEPS_ABSEIL_CPP_SRC_ABSL_BASE_DYNAMIC_ANNOTATIONS_H_" [build/header_guard] [5]
build/Debug/_deps/abseil_cpp-src/absl/base/exception_safety_testing_test.cc|477| Add #include for move [build/include_what_you_use] [4]
build/Debug/_deps/abseil_cpp-src/absl/base/exception_safety_testing_test.cc|588| Add #include for unique_ptr<> [build/include_what_you_use] [4]
build/Debug/_deps/abseil_cpp-src/absl/base/internal/atomic_hook.h|15| #ifndef header guard has wrong style, please use: BUILD_DEBUG__DEPS_ABSEIL_CPP_SRC_ABSL_BASE_INTERNAL_ATOMIC_HOOK_H_ [build/header_guard] [5]
build/Debug/_deps/abseil_cpp-src/absl/base/internal/atomic_hook.h|200| #endif line should be "#endif // BUILD_DEBUG__DEPS_ABSEIL_CPP_SRC_ABSL_BASE_INTERNAL_ATOMIC_HOOK_H_" [build/header_guard] [5]
build/Debug/_deps/abseil_cpp-src/absl/base/internal/atomic_hook_test_helper.h|15| #ifndef header guard has wrong style, please use: BUILD_DEBUG__DEPS_ABSEIL_CPP_SRC_ABSL_BASE_INTERNAL_ATOMIC_HOOK_TEST_HELPER_H_ [build/header_guard] [5]
build/Debug/_deps/abseil_cpp-src/absl/base/internal/atomic_hook_test_helper.h|34| #endif line should be "#endif // BUILD_DEBUG__DEPS_ABSEIL_CPP_SRC_ABSL_BASE_INTERNAL_ATOMIC_HOOK_TEST_HELPER_H_" [build/header_guard] [5]
build/Debug/_deps/abseil_cpp-src/absl/base/internal/cmake_thread_test.cc|21| Using C-style cast. Use reinterpret_cast<void*>(...) instead [readability/casting] [4]
build/Debug/_deps/abseil_cpp-src/absl/base/internal/cycleclock.h|42| #ifndef header guard has wrong style, please use: BUILD_DEBUG__DEPS_ABSEIL_CPP_SRC_ABSL_BASE_INTERNAL_CYCLECLOCK_H_ [build/header_guard] [5]
build/Debug/_deps/abseil_cpp-src/absl/base/internal/cycleclock.h|144| #endif line should be "#endif // BUILD_DEBUG__DEPS_ABSEIL_CPP_SRC_ABSL_BASE_INTERNAL_CYCLECLOCK_H_" [build/header_guard] [5]
build/Debug/_deps/abseil_cpp-src/absl/base/internal/cycleclock_config.h|15| #ifndef header guard has wrong style, please use: BUILD_DEBUG__DEPS_ABSEIL_CPP_SRC_ABSL_BASE_INTERNAL_CYCLECLOCK_CONFIG_H_ [build/header_guard] [5]
build/Debug/_deps/abseil_cpp-src/absl/base/internal/cycleclock_config.h|55| #endif line should be "#endif // BUILD_DEBUG__DEPS_ABSEIL_CPP_SRC_ABSL_BASE_INTERNAL_CYCLECLOCK_CONFIG_H_" [build/header_guard] [5]
build/Debug/_deps/abseil_cpp-src/absl/base/internal/direct_mmap.h|18| #ifndef header guard has wrong style, please use: BUILD_DEBUG__DEPS_ABSEIL_CPP_SRC_ABSL_BASE_INTERNAL_DIRECT_MMAP_H_ [build/header_guard] [5]
build/Debug/_deps/abseil_cpp-src/absl/base/internal/direct_mmap.h|170| #endif line should be "#endif // BUILD_DEBUG__DEPS_ABSEIL_CPP_SRC_ABSL_BASE_INTERNAL_DIRECT_MMAP_H_" [build/header_guard] [5]
build/Debug/_deps/abseil_cpp-src/absl/base/internal/direct_mmap.h|130| Use int16/int64/etc, rather than the C type long [runtime/int] [4]
... (Too many findings. Dropped some findings)
Annotations
Check warning on line 258 in onnxruntime/contrib_ops/cuda/cuda_contrib_kernels.cc
github-actions / cpplint
[cpplint] onnxruntime/contrib_ops/cuda/cuda_contrib_kernels.cc#L258
Lines should be <= 120 characters long [whitespace/line_length] [2]
Raw output
onnxruntime/contrib_ops/cuda/cuda_contrib_kernels.cc:258: Lines should be <= 120 characters long [whitespace/line_length] [2]
Check warning on line 19 in onnxruntime/contrib_ops/cuda/moe/ft_moe/common.h
github-actions / cpplint
[cpplint] onnxruntime/contrib_ops/cuda/moe/ft_moe/common.h#L19
Found C system header after C++ system header. Should be: common.h, c system, c++ system, other. [build/include_order] [4]
Raw output
onnxruntime/contrib_ops/cuda/moe/ft_moe/common.h:19: Found C system header after C++ system header. Should be: common.h, c system, c++ system, other. [build/include_order] [4]
Check warning on line 20 in onnxruntime/contrib_ops/cuda/moe/ft_moe/common.h
github-actions / cpplint
[cpplint] onnxruntime/contrib_ops/cuda/moe/ft_moe/common.h#L20
Found C system header after C++ system header. Should be: common.h, c system, c++ system, other. [build/include_order] [4]
Raw output
onnxruntime/contrib_ops/cuda/moe/ft_moe/common.h:20: Found C system header after C++ system header. Should be: common.h, c system, c++ system, other. [build/include_order] [4]
Check warning on line 21 in onnxruntime/contrib_ops/cuda/moe/ft_moe/common.h
github-actions / cpplint
[cpplint] onnxruntime/contrib_ops/cuda/moe/ft_moe/common.h#L21
Found C system header after C++ system header. Should be: common.h, c system, c++ system, other. [build/include_order] [4]
Raw output
onnxruntime/contrib_ops/cuda/moe/ft_moe/common.h:21: Found C system header after C++ system header. Should be: common.h, c system, c++ system, other. [build/include_order] [4]
Check warning on line 25 in onnxruntime/contrib_ops/cuda/moe/ft_moe/common.h
github-actions / cpplint
[cpplint] onnxruntime/contrib_ops/cuda/moe/ft_moe/common.h#L25
Include the directory when naming header files [build/include_subdir] [4]
Raw output
onnxruntime/contrib_ops/cuda/moe/ft_moe/common.h:25: Include the directory when naming header files [build/include_subdir] [4]
Check warning on line 26 in onnxruntime/contrib_ops/cuda/moe/ft_moe/common.h
github-actions / cpplint
[cpplint] onnxruntime/contrib_ops/cuda/moe/ft_moe/common.h#L26
Found C++ system header after other header. Should be: common.h, c system, c++ system, other. [build/include_order] [4]
Raw output
onnxruntime/contrib_ops/cuda/moe/ft_moe/common.h:26: Found C++ system header after other header. Should be: common.h, c system, c++ system, other. [build/include_order] [4]
Check warning on line 72 in onnxruntime/contrib_ops/cuda/moe/ft_moe/common.h
github-actions / cpplint
[cpplint] onnxruntime/contrib_ops/cuda/moe/ft_moe/common.h#L72
Add #include <string> for string [build/include_what_you_use] [4]
Raw output
onnxruntime/contrib_ops/cuda/moe/ft_moe/common.h:72: Add #include <string> for string [build/include_what_you_use] [4]
Check warning on line 21 in onnxruntime/contrib_ops/cuda/moe/ft_moe/compute_occupancy.h
github-actions / cpplint
[cpplint] onnxruntime/contrib_ops/cuda/moe/ft_moe/compute_occupancy.h#L21
Include the directory when naming header files [build/include_subdir] [4]
Raw output
onnxruntime/contrib_ops/cuda/moe/ft_moe/compute_occupancy.h:21: Include the directory when naming header files [build/include_subdir] [4]
Check warning on line 27 in onnxruntime/contrib_ops/cuda/moe/ft_moe/compute_occupancy.h
github-actions / cpplint
[cpplint] onnxruntime/contrib_ops/cuda/moe/ft_moe/compute_occupancy.h#L27
Using deprecated casting style. Use static_cast<int>(...) instead [readability/casting] [4]
Raw output
onnxruntime/contrib_ops/cuda/moe/ft_moe/compute_occupancy.h:27: Using deprecated casting style. Use static_cast<int>(...) instead [readability/casting] [4]
Check warning on line 17 in onnxruntime/contrib_ops/cuda/moe/ft_moe/cutlass_heuristic.cc
github-actions / cpplint
[cpplint] onnxruntime/contrib_ops/cuda/moe/ft_moe/cutlass_heuristic.cc#L17
Include the directory when naming header files [build/include_subdir] [4]
Raw output
onnxruntime/contrib_ops/cuda/moe/ft_moe/cutlass_heuristic.cc:17: Include the directory when naming header files [build/include_subdir] [4]
Check warning on line 150 in onnxruntime/contrib_ops/cuda/moe/ft_moe/cutlass_heuristic.cc
github-actions / cpplint
[cpplint] onnxruntime/contrib_ops/cuda/moe/ft_moe/cutlass_heuristic.cc#L150
Lines should be <= 120 characters long [whitespace/line_length] [2]
Raw output
onnxruntime/contrib_ops/cuda/moe/ft_moe/cutlass_heuristic.cc:150: Lines should be <= 120 characters long [whitespace/line_length] [2]
Check warning on line 163 in onnxruntime/contrib_ops/cuda/moe/ft_moe/cutlass_heuristic.cc
github-actions / cpplint
[cpplint] onnxruntime/contrib_ops/cuda/moe/ft_moe/cutlass_heuristic.cc#L163
Using deprecated casting style. Use static_cast<float>(...) instead [readability/casting] [4]
Raw output
onnxruntime/contrib_ops/cuda/moe/ft_moe/cutlass_heuristic.cc:163: Using deprecated casting style. Use static_cast<float>(...) instead [readability/casting] [4]
Check warning on line 164 in onnxruntime/contrib_ops/cuda/moe/ft_moe/cutlass_heuristic.cc
github-actions / cpplint
[cpplint] onnxruntime/contrib_ops/cuda/moe/ft_moe/cutlass_heuristic.cc#L164
Using deprecated casting style. Use static_cast<float>(...) instead [readability/casting] [4]
Raw output
onnxruntime/contrib_ops/cuda/moe/ft_moe/cutlass_heuristic.cc:164: Using deprecated casting style. Use static_cast<float>(...) instead [readability/casting] [4]
Check warning on line 167 in onnxruntime/contrib_ops/cuda/moe/ft_moe/cutlass_heuristic.cc
github-actions / cpplint
[cpplint] onnxruntime/contrib_ops/cuda/moe/ft_moe/cutlass_heuristic.cc#L167
Lines should be <= 120 characters long [whitespace/line_length] [2]
Raw output
onnxruntime/contrib_ops/cuda/moe/ft_moe/cutlass_heuristic.cc:167: Lines should be <= 120 characters long [whitespace/line_length] [2]
Check warning on line 175 in onnxruntime/contrib_ops/cuda/moe/ft_moe/cutlass_heuristic.cc
github-actions / cpplint
[cpplint] onnxruntime/contrib_ops/cuda/moe/ft_moe/cutlass_heuristic.cc#L175
Lines should be <= 120 characters long [whitespace/line_length] [2]
Raw output
onnxruntime/contrib_ops/cuda/moe/ft_moe/cutlass_heuristic.cc:175: Lines should be <= 120 characters long [whitespace/line_length] [2]
Check warning on line 19 in onnxruntime/contrib_ops/cuda/moe/ft_moe/cutlass_heuristic.h
github-actions / cpplint
[cpplint] onnxruntime/contrib_ops/cuda/moe/ft_moe/cutlass_heuristic.h#L19
Include the directory when naming header files [build/include_subdir] [4]
Raw output
onnxruntime/contrib_ops/cuda/moe/ft_moe/cutlass_heuristic.h:19: Include the directory when naming header files [build/include_subdir] [4]
Check warning on line 21 in onnxruntime/contrib_ops/cuda/moe/ft_moe/cutlass_heuristic.h
github-actions / cpplint
[cpplint] onnxruntime/contrib_ops/cuda/moe/ft_moe/cutlass_heuristic.h#L21
Found C++ system header after other header. Should be: cutlass_heuristic.h, c system, c++ system, other. [build/include_order] [4]
Raw output
onnxruntime/contrib_ops/cuda/moe/ft_moe/cutlass_heuristic.h:21: Found C++ system header after other header. Should be: cutlass_heuristic.h, c system, c++ system, other. [build/include_order] [4]
Check warning on line 22 in onnxruntime/contrib_ops/cuda/moe/ft_moe/cutlass_heuristic.h
github-actions / cpplint
[cpplint] onnxruntime/contrib_ops/cuda/moe/ft_moe/cutlass_heuristic.h#L22
Found C++ system header after other header. Should be: cutlass_heuristic.h, c system, c++ system, other. [build/include_order] [4]
Raw output
onnxruntime/contrib_ops/cuda/moe/ft_moe/cutlass_heuristic.h:22: Found C++ system header after other header. Should be: cutlass_heuristic.h, c system, c++ system, other. [build/include_order] [4]
Check warning on line 23 in onnxruntime/contrib_ops/cuda/moe/ft_moe/cutlass_heuristic.h
github-actions / cpplint
[cpplint] onnxruntime/contrib_ops/cuda/moe/ft_moe/cutlass_heuristic.h#L23
Found C++ system header after other header. Should be: cutlass_heuristic.h, c system, c++ system, other. [build/include_order] [4]
Raw output
onnxruntime/contrib_ops/cuda/moe/ft_moe/cutlass_heuristic.h:23: Found C++ system header after other header. Should be: cutlass_heuristic.h, c system, c++ system, other. [build/include_order] [4]
Check warning on line 49 in onnxruntime/contrib_ops/cuda/moe/ft_moe/epilogue_helpers.h
github-actions / cpplint
[cpplint] onnxruntime/contrib_ops/cuda/moe/ft_moe/epilogue_helpers.h#L49
Using deprecated casting style. Use static_cast<float>(...) instead [readability/casting] [4]
Raw output
onnxruntime/contrib_ops/cuda/moe/ft_moe/epilogue_helpers.h:49: Using deprecated casting style. Use static_cast<float>(...) instead [readability/casting] [4]
Check warning on line 50 in onnxruntime/contrib_ops/cuda/moe/ft_moe/epilogue_helpers.h
github-actions / cpplint
[cpplint] onnxruntime/contrib_ops/cuda/moe/ft_moe/epilogue_helpers.h#L50
Using deprecated casting style. Use static_cast<float>(...) instead [readability/casting] [4]
Raw output
onnxruntime/contrib_ops/cuda/moe/ft_moe/epilogue_helpers.h:50: Using deprecated casting style. Use static_cast<float>(...) instead [readability/casting] [4]
Check warning on line 53 in onnxruntime/contrib_ops/cuda/moe/ft_moe/epilogue_helpers.h
github-actions / cpplint
[cpplint] onnxruntime/contrib_ops/cuda/moe/ft_moe/epilogue_helpers.h#L53
Lines should be <= 120 characters long [whitespace/line_length] [2]
Raw output
onnxruntime/contrib_ops/cuda/moe/ft_moe/epilogue_helpers.h:53: Lines should be <= 120 characters long [whitespace/line_length] [2]
Check warning on line 43 in onnxruntime/contrib_ops/cuda/moe/ft_moe/gemm_moe_problem_visitor.h
github-actions / cpplint
[cpplint] onnxruntime/contrib_ops/cuda/moe/ft_moe/gemm_moe_problem_visitor.h#L43
Include the directory when naming header files [build/include_subdir] [4]
Raw output
onnxruntime/contrib_ops/cuda/moe/ft_moe/gemm_moe_problem_visitor.h:43: Include the directory when naming header files [build/include_subdir] [4]
Check warning on line 57 in onnxruntime/contrib_ops/cuda/moe/ft_moe/gemm_moe_problem_visitor.h
github-actions / cpplint
[cpplint] onnxruntime/contrib_ops/cuda/moe/ft_moe/gemm_moe_problem_visitor.h#L57
Lines should be <= 120 characters long [whitespace/line_length] [2]
Raw output
onnxruntime/contrib_ops/cuda/moe/ft_moe/gemm_moe_problem_visitor.h:57: Lines should be <= 120 characters long [whitespace/line_length] [2]
Check warning on line 74 in onnxruntime/contrib_ops/cuda/moe/ft_moe/gemm_moe_problem_visitor.h
github-actions / cpplint
[cpplint] onnxruntime/contrib_ops/cuda/moe/ft_moe/gemm_moe_problem_visitor.h#L74
Lines should be <= 120 characters long [whitespace/line_length] [2]
Raw output
onnxruntime/contrib_ops/cuda/moe/ft_moe/gemm_moe_problem_visitor.h:74: Lines should be <= 120 characters long [whitespace/line_length] [2]