Skip to content

Allow configuration template to disable some SIMD. #16

Allow configuration template to disable some SIMD.

Allow configuration template to disable some SIMD. #16

GitHub Actions / cpplint completed Sep 23, 2024 in 42s

reviewdog [cpplint] report

reported by reviewdog 🐶

Findings (2928)

include/onnxruntime/core/common/exceptions.h|20| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/common/exceptions.h|20| You don't need a ; after a } [readability/braces] [4]
include/onnxruntime/core/common/exceptions.h|21| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/common/exceptions.h|21| You don't need a ; after a } [readability/braces] [4]
include/onnxruntime/core/common/exceptions.h|26| You don't need a ; after a } [readability/braces] [4]
include/onnxruntime/core/common/logging/capture.h|7| Found C system header after C++ system header. Should be: capture.h, c system, c++ system, other. [build/include_order] [4]
include/onnxruntime/core/common/logging/logging.h|63| Missing username in TODO; it should look like "// TODO(my_username): Stuff." [readability/todo] [2]
include/onnxruntime/core/common/logging/logging.h|212| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/common/span_utils.h|9| Found C system header after C++ system header. Should be: span_utils.h, c system, c++ system, other. [build/include_order] [4]
include/onnxruntime/core/eager/ort_kernel_invoker.h|28| Add #include for move [build/include_what_you_use] [4]
include/onnxruntime/core/framework/data_types.h|12| Found C system header after C++ system header. Should be: data_types.h, c system, c++ system, other. [build/include_order] [4]
include/onnxruntime/core/framework/float8.h|239| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/float8.h|551| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/int4.h|9| Found C system header after other header. Should be: int4.h, c system, c++ system, other. [build/include_order] [4]
include/onnxruntime/core/framework/int4.h|150| Add #include for pair<> [build/include_what_you_use] [4]
include/onnxruntime/core/framework/op_kernel.h|28| Found C system header after other header. Should be: op_kernel.h, c system, c++ system, other. [build/include_order] [4]
include/onnxruntime/core/framework/op_kernel_info.h|11| Found C system header after other header. Should be: op_kernel_info.h, c system, c++ system, other. [build/include_order] [4]
include/onnxruntime/core/framework/op_node_proto_helper.h|10| Found C system header after other header. Should be: op_node_proto_helper.h, c system, c++ system, other. [build/include_order] [4]
include/onnxruntime/core/framework/stream_handles.h|35| You don't need a ; after a } [readability/braces] [4]
include/onnxruntime/core/framework/tensor.h|12| Found C system header after C++ system header. Should be: tensor.h, c system, c++ system, other. [build/include_order] [4]
include/onnxruntime/core/framework/tensor_shape.h|12| Found C system header after C++ system header. Should be: tensor_shape.h, c system, c++ system, other. [build/include_order] [4]
include/onnxruntime/core/graph/graph.h|17| Found C system header after other header. Should be: graph.h, c system, c++ system, other. [build/include_order] [4]
include/onnxruntime/core/graph/graph.h|1196| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/graph/graph.h|1640| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/platform/Barrier.h|79| You don't need a ; after a } [readability/braces] [4]
include/onnxruntime/core/platform/EigenNonBlockingThreadPool.h|222| You don't need a ; after a } [readability/braces] [4]
include/onnxruntime/core/platform/EigenNonBlockingThreadPool.h|225| You don't need a ; after a } [readability/braces] [4]
include/onnxruntime/core/platform/EigenNonBlockingThreadPool.h|227| You don't need a ; after a } [readability/braces] [4]
include/onnxruntime/core/platform/EigenNonBlockingThreadPool.h|232| You don't need a ; after a } [readability/braces] [4]
include/onnxruntime/core/platform/EigenNonBlockingThreadPool.h|233| You don't need a ; after a } [readability/braces] [4]
include/onnxruntime/core/providers/cuda/cuda_provider_options.h|41| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/providers/cuda/cuda_provider_options.h|42| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/providers/custom_op_context.h|9| You don't need a ; after a } [readability/braces] [4]
include/onnxruntime/core/providers/tensorrt/tensorrt_provider_options.h|22| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/providers/tensorrt/tensorrt_provider_options.h|75| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/providers/tensorrt/tensorrt_provider_options.h|76| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/providers/vsinpu/vsinpu_provider_factory.h|24| Include the directory when naming header files [build/include_subdir] [4]
include/onnxruntime/core/session/experimental_onnxruntime_cxx_api.h|27| You don't need a ; after a } [readability/braces] [4]
include/onnxruntime/core/session/experimental_onnxruntime_cxx_api.h|29| You don't need a ; after a } [readability/braces] [4]
include/onnxruntime/core/session/experimental_onnxruntime_cxx_api.h|55| You don't need a ; after a } [readability/braces] [4]
include/onnxruntime/core/session/onnxruntime_cxx_api.h|876| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/session/onnxruntime_cxx_api.h|877| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/session/onnxruntime_cxx_api.h|878| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/session/onnxruntime_cxx_api.h|2178| You don't need a ; after a } [readability/braces] [4]
include/onnxruntime/core/session/onnxruntime_cxx_api.h|2178| Single-parameter constructors should be marked explicit. [runtime/explicit] [5]
include/onnxruntime/core/session/onnxruntime_cxx_api.h|2179| You don't need a ; after a } [readability/braces] [4]
include/onnxruntime/core/session/onnxruntime_cxx_api.h|2179| Single-parameter constructors should be marked explicit. [runtime/explicit] [5]
include/onnxruntime/core/session/onnxruntime_cxx_api.h|2219| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/session/onnxruntime_cxx_inline.h|785| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/session/onnxruntime_cxx_inline.h|786| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/session/onnxruntime_cxx_inline.h|787| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/session/onnxruntime_cxx_inline.h|2048| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/session/onnxruntime_cxx_inline.h|2049| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/session/onnxruntime_cxx_inline.h|2078| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/session/onnxruntime_cxx_inline.h|2079| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/session/onnxruntime_cxx_inline.h|2115| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/session/onnxruntime_cxx_inline.h|2116| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/session/onnxruntime_lite_custom_op.h|32| You don't need a ; after a } [readability/braces] [4]
include/onnxruntime/core/session/onnxruntime_run_options_config_keys.h|55| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/session/onnxruntime_session_options_config_keys.h|288| Lines should be <= 120 characters long [whitespace/line_length] [2]
js/node/src/inference_session_wrap.cc|49| Lines should be <= 120 characters long [whitespace/line_length] [2]
js/node/src/inference_session_wrap.h|15| Single-parameter constructors should be marked explicit. [runtime/explicit] [5]
js/node/src/session_options_helper.cc|86| Add #include for string [build/include_what_you_use] [4]
js/node/src/tensor_helper.cc|100| Lines should be <= 120 characters long [whitespace/line_length] [2]
js/react_native/android/src/main/cpp/cpp-adapter.cpp|16| Using C-style cast. Use static_cast<size_t>(...) instead [readability/casting] [4]
js/react_native/android/src/main/cpp/cpp-adapter.cpp|19| Using C-style cast. Use reinterpret_cast<char*>(...) instead [readability/casting] [4]
js/react_native/android/src/main/cpp/cpp-adapter.cpp|67| Lines should be <= 120 characters long [whitespace/line_length] [2]
js/react_native/android/src/main/cpp/cpp-adapter.cpp|82| Lines should be <= 120 characters long [whitespace/line_length] [2]
js/react_native/android/src/main/cpp/cpp-adapter.cpp|86| Lines should be <= 120 characters long [whitespace/line_length] [2]
js/react_native/android/src/main/cpp/cpp-adapter.cpp|87| Lines should be <= 120 characters long [whitespace/line_length] [2]
js/react_native/android/src/main/cpp/cpp-adapter.cpp|88| Lines should be <= 120 characters long [whitespace/line_length] [2]
js/react_native/android/src/main/cpp/cpp-adapter.cpp|90| Lines should be <= 120 characters long [whitespace/line_length] [2]
js/react_native/android/src/main/cpp/cpp-adapter.cpp|93| Lines should be <= 120 characters long [whitespace/line_length] [2]
js/react_native/android/src/main/cpp/cpp-adapter.cpp|94| Lines should be <= 120 characters long [whitespace/line_length] [2]
js/react_native/android/src/main/cpp/cpp-adapter.cpp|94| Using C-style cast. Use static_cast(...) instead [readability/casting] [4]
js/react_native/android/src/main/cpp/cpp-adapter.cpp|96| Lines should be <= 120 characters long [whitespace/line_length] [2]
js/react_native/android/src/main/cpp/cpp-adapter.cpp|110| Lines should be <= 120 characters long [whitespace/line_length] [2]
js/react_native/android/src/main/cpp/cpp-adapter.cpp|113| Lines should be <= 120 characters long [whitespace/line_length] [2]
js/react_native/android/src/main/cpp/cpp-adapter.cpp|116| Lines should be <= 120 characters long [whitespace/line_length] [2]
js/react_native/android/src/main/cpp/cpp-adapter.cpp|119| Lines should be <= 120 characters long [whitespace/line_length] [2]
js/react_native/android/src/main/cpp/cpp-adapter.cpp|122| Lines should be <= 120 characters long [whitespace/line_length] [2]
js/react_native/ios/OnnxruntimeModule.h|12| Using C-style cast. Use reinterpret_cast<RCTBlobManager*>(...) instead [readability/casting] [4]
js/react_native/ios/OnnxruntimeModule.h|14| Using C-style cast. Use reinterpret_cast<NSDictionary*>(...) instead [readability/casting] [4]
js/react_native/ios/OnnxruntimeModule.h|15| Using C-style cast. Use reinterpret_cast<NSDictionary*>(...) instead [readability/casting] [4]
js/react_native/ios/OnnxruntimeModule.h|17| Using C-style cast. Use reinterpret_cast<NSDictionary*>(...) instead [readability/casting] [4]
js/react_native/ios/OnnxruntimeModule.h|18| Using C-style cast. Use reinterpret_cast<NSDictionary*>(...) instead [readability/casting] [4]
js/react_native/ios/OnnxruntimeModule.h|20| Using C-style cast. Use reinterpret_cast<NSString*>(...) instead [readability/casting] [4]
js/react_native/ios/OnnxruntimeModule.h|22| Using C-style cast. Use reinterpret_cast<NSDictionary*>(...) instead [readability/casting] [4]
js/react_native/ios/OnnxruntimeModule.h|23| Using C-style cast. Use reinterpret_cast<NSDictionary*>(...) instead [readability/casting] [4]
js/react_native/ios/OnnxruntimeModule.h|24| Using C-style cast. Use reinterpret_cast<NSArray*>(...) instead [readability/casting] [4]
js/react_native/ios/OnnxruntimeModule.h|25| Using C-style cast. Use reinterpret_cast<NSDictionary*>(...) instead [readability/casting] [4]
js/react_native/ios/OnnxruntimeModuleTest/FakeRCTBlobManager.h|13| Using C-style cast. Use reinterpret_cast<NSString*>(...) instead [readability/casting] [4]
js/react_native/ios/OnnxruntimeModuleTest/FakeRCTBlobManager.h|15| Using C-style cast. Use reinterpret_cast<NSData*>(...) instead [readability/casting] [4]
js/react_native/ios/OnnxruntimeModuleTest/FakeRCTBlobManager.h|15| Use int16/int64/etc, rather than the C type long [runtime/int] [4]
js/react_native/ios/OnnxruntimeModuleTest/FakeRCTBlobManager.h|17| Using C-style cast. Use reinterpret_cast<NSDictionary*>(...) instead [readability/casting] [4]
js/react_native/ios/OnnxruntimeModuleTest/FakeRCTBlobManager.h|19| Using C-style cast. Use reinterpret_cast<NSString*>(...) instead [readability/casting] [4]
js/react_native/ios/TensorHelper.h|42| Using C-style cast. Use reinterpret_cast<RCTBlobManager*>(...) instead [readability/casting] [4]
js/react_native/ios/TensorHelper.h|43| Using C-style cast. Use reinterpret_cast<NSDictionary*>(...) instead [readability/casting] [4]
js/react_native/ios/TensorHelper.h|44| Using C-style cast. Use reinterpret_cast<OrtAllocator*>(...) instead [readability/casting] [4]
js/react_native/ios/TensorHelper.h|51| Using C-style cast. Use reinterpret_cast<NSDictionary*>(...) instead [readability/casting] [4]
js/react_native/ios/TensorHelper.h|53| Add #include for vector<> [build/include_what_you_use] [4]
onnxruntime/contrib_ops/cpu/attnlstm/uni_dir_attn_lstm.h|14| Found C system header after other header. Should be: uni_dir_attn_lstm.h, c system, c++ system, other. [build/include_order] [4]
onnxruntime/contrib_ops/cpu/bert/attention_base.cc|315| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/bert/attention_helper.h|49| Using C-style cast. Use static_cast(...) instead [readability/casting] [4]
onnxruntime/contrib_ops/cpu/bert/attention_utils.cc|1| Include the directory when naming header files [build/include_subdir] [4]
onnxruntime/contrib_ops/cpu/bert/attention_utils.cc|36| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/bert/attention_utils.cc|38| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/bert/attention_utils.cc|94| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/bert/attention_utils.cc|95| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/bert/attention_utils.cc|100| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/bert/attention_utils.cc|102| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/bert/attention_utils.cc|108| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/bert/attention_utils.cc|122| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/bert/attention_utils.cc|172| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/bert/attention_utils.cc|173| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/bert/attention_utils.cc|178| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/bert/attention_utils.cc|180| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/bert/attention_utils.cc|216| You don't need a ; after a } [readability/braces] [4]
onnxruntime/contrib_ops/cpu/bert/attention_utils.cc|203| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/bert/attention_utils.cc|210| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/bert/attention_utils.cc|212| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/bert/attention_utils.cc|220| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/bert/attention_utils.cc|239| You don't need a ; after a } [readability/braces] [4]
onnxruntime/contrib_ops/cpu/bert/attention_utils.cc|227| Add #include for vector<> [build/include_what_you_use] [4]
onnxruntime/contrib_ops/cpu/bert/attention_utils.cc|233| Add #include for make_unique<> [build/include_what_you_use] [4]
onnxruntime/contrib_ops/cpu/bert/attention_utils.h|25| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/bert/attention_utils.h|27| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/bert/attention_utils.h|41| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/bert/gqa_attention_base.h|56| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/bert/gqa_attention_base.h|57| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/bert/gqa_attention_base.h|120| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/bert/gqa_attention_base.h|251| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/bert/group_query_attention.cc|16| Found C system header after other header. Should be: group_query_attention.h, c system, c++ system, other. [build/include_order] [4]
onnxruntime/contrib_ops/cpu/bert/group_query_attention.cc|17| Found C++ system header after other header. Should be: group_query_attention.h, c system, c++ system, other. [build/include_order] [4]
onnxruntime/contrib_ops/cpu/bert/group_query_attention.cc|81| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/bert/group_query_attention.cc|82| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/bert/group_query_attention.cc|117| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/bert/group_query_attention.cc|127| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/bert/group_query_attention.cc|147| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/bert/group_query_attention.cc|155| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/bert/group_query_attention.cc|157| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/bert/group_query_attention.cc|196| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/bert/group_query_attention.h|8| Include the directory when naming header files [build/include_subdir] [4]
onnxruntime/contrib_ops/cpu/bert/group_query_attention_helper.h|287| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/bert/multihead_attention.cc|7| Include the directory when naming header files [build/include_subdir] [4]
onnxruntime/contrib_ops/cpu/bert/multihead_attention.cc|17| Found C++ system header after other header. Should be: multihead_attention.h, c system, c++ system, other. [build/include_order] [4]
onnxruntime/contrib_ops/cpu/bert/multihead_attention.cc|18| Found C++ system header after other header. Should be: multihead_attention.h, c system, c++ system, other. [build/include_order] [4]
onnxruntime/contrib_ops/cpu/bert/multihead_attention.cc|189| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/bert/multihead_attention.cc|190| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/bert/multihead_attention_helper.h|216| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/bert/multihead_attention_helper.h|387| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/bert/rotary_embedding.cc|40| Missing username in TODO; it should look like "// TODO(my_username): Stuff." [readability/todo] [2]
onnxruntime/contrib_ops/cpu/bert/rotary_embedding.cc|102| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/bert/rotary_embedding.h|7| Include the directory when naming header files [build/include_subdir] [4]
onnxruntime/contrib_ops/cpu/bert/rotary_embedding.h|13| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/cpu_contrib_kernels.cc|38| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/cpu_contrib_kernels.cc|39| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/cpu_contrib_kernels.cc|40| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/cpu_contrib_kernels.cc|41| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/cpu_contrib_kernels.cc|277| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/cpu_contrib_kernels.cc|280| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/cpu_contrib_kernels.cc|281| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/cpu_contrib_kernels.cc|282| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/cpu_contrib_kernels.cc|283| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/cpu_contrib_kernels.cc|284| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/cpu_contrib_kernels.cc|285| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/cpu_contrib_kernels.cc|286| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/cpu_contrib_kernels.cc|287| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/cpu_contrib_kernels.cc|288| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/cpu_contrib_kernels.cc|289| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/cpu_contrib_kernels.cc|290| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/cpu_contrib_kernels.cc|291| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/cpu_contrib_kernels.cc|292| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/cpu_contrib_kernels.cc|293| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/cpu_contrib_kernels.cc|295| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/cpu_contrib_kernels.cc|303| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/cpu_contrib_kernels.cc|305| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/cpu_contrib_kernels.cc|306| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/cpu_contrib_kernels.cc|308| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/cpu_contrib_kernels.cc|309| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/cpu_contrib_kernels.cc|310| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/cpu_contrib_kernels.cc|311| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/cpu_contrib_kernels.cc|315| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/cpu_contrib_kernels.cc|318| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/cpu_contrib_kernels.cc|319| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/cpu_contrib_kernels.cc|334| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/cpu_contrib_kernels.cc|337| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/cpu_contrib_kernels.cc|339| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/cpu_contrib_kernels.cc|340| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/cpu_contrib_kernels.cc|341| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/cpu_contrib_kernels.cc|342| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/cpu_contrib_kernels.cc|343| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/cpu_contrib_kernels.cc|344| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/cpu_contrib_kernels.cc|345| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/cpu_contrib_kernels.cc|346| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/cpu_contrib_kernels.cc|355| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/cpu_contrib_kernels.cc|295| Add #include for string [build/include_what_you_use] [4]
onnxruntime/contrib_ops/cpu/crop.h|9| Found C system header after other header. Should be: crop.h, c system, c++ system, other. [build/include_order] [4]
onnxruntime/contrib_ops/cpu/quantization/gather_block_quantized.cc|22| Single-parameter constructors should be marked explicit. [runtime/explicit] [5]
onnxruntime/contrib_ops/cpu/quantization/matmul_nbits.cc|274| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/quantization/matmul_nbits.cc|283| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/quantization/matmul_nbits.cc|403| Using C-style cast. Use static_cast<size_t>(...) instead [readability/casting] [4]
onnxruntime/contrib_ops/cpu/quantization/matmul_nbits.cc|406| Using C-style cast. Use static_cast<size_t>(...) instead [readability/casting] [4]
onnxruntime/contrib_ops/cpu/quantization/matmul_nbits.cc|626| Using C-style cast. Use static_cast<size_t>(...) instead [readability/casting] [4]
onnxruntime/contrib_ops/cpu/quantization/matmul_nbits.cc|628| Using C-style cast. Use static_cast<size_t>(...) instead [readability/casting] [4]
onnxruntime/contrib_ops/cpu/quantization/matmul_nbits.cc|643| Using C-style cast. Use static_cast<size_t>(...) instead [readability/casting] [4]
onnxruntime/contrib_ops/cpu/quantization/matmul_nbits_impl.cc|62| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/quantization/qlinear_softmax.cc|18| Found C system header after other header. Should be: qlinear_softmax.h, c system, c++ system, other. [build/include_order] [4]
onnxruntime/contrib_ops/cpu/sparse/sparse_attention.cc|16| Found C system header after other header. Should be: sparse_attention.h, c system, c++ system, other. [build/include_order] [4]
onnxruntime/contrib_ops/cpu/sparse/sparse_attention.cc|17| Found C++ system header after other header. Should be: sparse_attention.h, c system, c++ system, other. [build/include_order] [4]
onnxruntime/contrib_ops/cpu/sparse/sparse_attention_base.h|19| Single-parameter constructors should be marked explicit. [runtime/explicit] [5]
onnxruntime/contrib_ops/cpu/sparse/sparse_attention_base.h|69| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/sparse/sparse_attention_base.h|153| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/sparse/sparse_attention_base.h|154| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/sparse/sparse_attention_base.h|166| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/sparse/sparse_attention_base.h|185| Missing username in TODO; it should look like "// TODO(my_username): Stuff." [readability/todo] [2]
onnxruntime/contrib_ops/cpu/sparse/sparse_attention_base.h|260| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/sparse/sparse_attention_base.h|292| Redundant blank line at the end of a code block should be deleted. [whitespace/blank_line] [3]
onnxruntime/contrib_ops/cpu/sparse/sparse_attention_base.h|352| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/sparse/sparse_attention_base.h|376| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/sparse/sparse_attention_base.h|233| Add #include for vector<> [build/include_what_you_use] [4]
onnxruntime/contrib_ops/cpu/sparse/sparse_attention_base.h|281| Add #include for numeric_limits<> [build/include_what_you_use] [4]
onnxruntime/contrib_ops/cpu/tokenizer.cc|320| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/contrib_ops/cpu/transformers/beam_search.cc|29| Found C system header after other header. Should be: beam_search.h, c system, c++ system, other. [build/include_order] [4]
onnxruntime/contrib_ops/cpu/transformers/generation_device_helper.cc|11| Found C system header after other header. Should be: generation_device_helper.h, c system, c++ system, other. [build/include_order] [4]
onnxruntime/contrib_ops/cpu/transformers/generation_device_helper.h|13| Found C system header after C++ system header. Should be: generation_device_helper.h, c system, c++ system, other. [build/include_order] [4]
onnxruntime/contrib_ops/cpu/transformers/generation_shared.h|8| Found C system header after C++ system header. Should be: generation_shared.h, c system, c++ system, other. [build/include_order] [4]
onnxruntime/contrib_ops/cpu/transformers/greedy_search.cc|29| Found C system header after other header. Should be: greedy_search.h, c system, c++ system, other. [build/include_order] [4]
onnxruntime/contrib_ops/cpu/transformers/sampling_cpu_helper.h|155| Missing username in TODO; it should look like "// TODO(my_username): Stuff." [readability/todo] [2]
... (Too many findings. Dropped some findings)

Filtered Findings (0)

Annotations

Check notice on line 20 in include/onnxruntime/core/common/exceptions.h

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] include/onnxruntime/core/common/exceptions.h#L20

 Lines should be <= 120 characters long  [whitespace/line_length] [2]
Raw output
include/onnxruntime/core/common/exceptions.h:20:  Lines should be <= 120 characters long  [whitespace/line_length] [2]

Check notice on line 20 in include/onnxruntime/core/common/exceptions.h

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] include/onnxruntime/core/common/exceptions.h#L20

 You don't need a ; after a }  [readability/braces] [4]
Raw output
include/onnxruntime/core/common/exceptions.h:20:  You don't need a ; after a }  [readability/braces] [4]

Check notice on line 21 in include/onnxruntime/core/common/exceptions.h

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] include/onnxruntime/core/common/exceptions.h#L21

 Lines should be <= 120 characters long  [whitespace/line_length] [2]
Raw output
include/onnxruntime/core/common/exceptions.h:21:  Lines should be <= 120 characters long  [whitespace/line_length] [2]

Check notice on line 21 in include/onnxruntime/core/common/exceptions.h

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] include/onnxruntime/core/common/exceptions.h#L21

 You don't need a ; after a }  [readability/braces] [4]
Raw output
include/onnxruntime/core/common/exceptions.h:21:  You don't need a ; after a }  [readability/braces] [4]

Check notice on line 26 in include/onnxruntime/core/common/exceptions.h

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] include/onnxruntime/core/common/exceptions.h#L26

 You don't need a ; after a }  [readability/braces] [4]
Raw output
include/onnxruntime/core/common/exceptions.h:26:  You don't need a ; after a }  [readability/braces] [4]

Check notice on line 7 in include/onnxruntime/core/common/logging/capture.h

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] include/onnxruntime/core/common/logging/capture.h#L7

 Found C system header after C++ system header. Should be: capture.h, c system, c++ system, other.  [build/include_order] [4]
Raw output
include/onnxruntime/core/common/logging/capture.h:7:  Found C system header after C++ system header. Should be: capture.h, c system, c++ system, other.  [build/include_order] [4]

Check notice on line 63 in include/onnxruntime/core/common/logging/logging.h

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] include/onnxruntime/core/common/logging/logging.h#L63

 Missing username in TODO; it should look like "// TODO(my_username): Stuff."  [readability/todo] [2]
Raw output
include/onnxruntime/core/common/logging/logging.h:63:  Missing username in TODO; it should look like "// TODO(my_username): Stuff."  [readability/todo] [2]

Check notice on line 212 in include/onnxruntime/core/common/logging/logging.h

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] include/onnxruntime/core/common/logging/logging.h#L212

 Lines should be <= 120 characters long  [whitespace/line_length] [2]
Raw output
include/onnxruntime/core/common/logging/logging.h:212:  Lines should be <= 120 characters long  [whitespace/line_length] [2]

Check notice on line 9 in include/onnxruntime/core/common/span_utils.h

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] include/onnxruntime/core/common/span_utils.h#L9

 Found C system header after C++ system header. Should be: span_utils.h, c system, c++ system, other.  [build/include_order] [4]
Raw output
include/onnxruntime/core/common/span_utils.h:9:  Found C system header after C++ system header. Should be: span_utils.h, c system, c++ system, other.  [build/include_order] [4]

Check notice on line 28 in include/onnxruntime/core/eager/ort_kernel_invoker.h

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] include/onnxruntime/core/eager/ort_kernel_invoker.h#L28

 Add #include <utility> for move  [build/include_what_you_use] [4]
Raw output
include/onnxruntime/core/eager/ort_kernel_invoker.h:28:  Add #include <utility> for move  [build/include_what_you_use] [4]

Check notice on line 12 in include/onnxruntime/core/framework/data_types.h

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] include/onnxruntime/core/framework/data_types.h#L12

 Found C system header after C++ system header. Should be: data_types.h, c system, c++ system, other.  [build/include_order] [4]
Raw output
include/onnxruntime/core/framework/data_types.h:12:  Found C system header after C++ system header. Should be: data_types.h, c system, c++ system, other.  [build/include_order] [4]

Check notice on line 239 in include/onnxruntime/core/framework/float8.h

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] include/onnxruntime/core/framework/float8.h#L239

 Lines should be <= 120 characters long  [whitespace/line_length] [2]
Raw output
include/onnxruntime/core/framework/float8.h:239:  Lines should be <= 120 characters long  [whitespace/line_length] [2]

Check notice on line 551 in include/onnxruntime/core/framework/float8.h

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] include/onnxruntime/core/framework/float8.h#L551

 Lines should be <= 120 characters long  [whitespace/line_length] [2]
Raw output
include/onnxruntime/core/framework/float8.h:551:  Lines should be <= 120 characters long  [whitespace/line_length] [2]

Check notice on line 9 in include/onnxruntime/core/framework/int4.h

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] include/onnxruntime/core/framework/int4.h#L9

 Found C system header after other header. Should be: int4.h, c system, c++ system, other.  [build/include_order] [4]
Raw output
include/onnxruntime/core/framework/int4.h:9:  Found C system header after other header. Should be: int4.h, c system, c++ system, other.  [build/include_order] [4]

Check notice on line 150 in include/onnxruntime/core/framework/int4.h

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] include/onnxruntime/core/framework/int4.h#L150

 Add #include <utility> for pair<>  [build/include_what_you_use] [4]
Raw output
include/onnxruntime/core/framework/int4.h:150:  Add #include <utility> for pair<>  [build/include_what_you_use] [4]

Check notice on line 28 in include/onnxruntime/core/framework/op_kernel.h

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] include/onnxruntime/core/framework/op_kernel.h#L28

 Found C system header after other header. Should be: op_kernel.h, c system, c++ system, other.  [build/include_order] [4]
Raw output
include/onnxruntime/core/framework/op_kernel.h:28:  Found C system header after other header. Should be: op_kernel.h, c system, c++ system, other.  [build/include_order] [4]

Check notice on line 11 in include/onnxruntime/core/framework/op_kernel_info.h

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] include/onnxruntime/core/framework/op_kernel_info.h#L11

 Found C system header after other header. Should be: op_kernel_info.h, c system, c++ system, other.  [build/include_order] [4]
Raw output
include/onnxruntime/core/framework/op_kernel_info.h:11:  Found C system header after other header. Should be: op_kernel_info.h, c system, c++ system, other.  [build/include_order] [4]

Check notice on line 10 in include/onnxruntime/core/framework/op_node_proto_helper.h

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] include/onnxruntime/core/framework/op_node_proto_helper.h#L10

 Found C system header after other header. Should be: op_node_proto_helper.h, c system, c++ system, other.  [build/include_order] [4]
Raw output
include/onnxruntime/core/framework/op_node_proto_helper.h:10:  Found C system header after other header. Should be: op_node_proto_helper.h, c system, c++ system, other.  [build/include_order] [4]

Check notice on line 35 in include/onnxruntime/core/framework/stream_handles.h

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] include/onnxruntime/core/framework/stream_handles.h#L35

 You don't need a ; after a }  [readability/braces] [4]
Raw output
include/onnxruntime/core/framework/stream_handles.h:35:  You don't need a ; after a }  [readability/braces] [4]

Check notice on line 12 in include/onnxruntime/core/framework/tensor.h

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] include/onnxruntime/core/framework/tensor.h#L12

 Found C system header after C++ system header. Should be: tensor.h, c system, c++ system, other.  [build/include_order] [4]
Raw output
include/onnxruntime/core/framework/tensor.h:12:  Found C system header after C++ system header. Should be: tensor.h, c system, c++ system, other.  [build/include_order] [4]

Check notice on line 12 in include/onnxruntime/core/framework/tensor_shape.h

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] include/onnxruntime/core/framework/tensor_shape.h#L12

 Found C system header after C++ system header. Should be: tensor_shape.h, c system, c++ system, other.  [build/include_order] [4]
Raw output
include/onnxruntime/core/framework/tensor_shape.h:12:  Found C system header after C++ system header. Should be: tensor_shape.h, c system, c++ system, other.  [build/include_order] [4]

Check notice on line 17 in include/onnxruntime/core/graph/graph.h

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] include/onnxruntime/core/graph/graph.h#L17

 Found C system header after other header. Should be: graph.h, c system, c++ system, other.  [build/include_order] [4]
Raw output
include/onnxruntime/core/graph/graph.h:17:  Found C system header after other header. Should be: graph.h, c system, c++ system, other.  [build/include_order] [4]

Check notice on line 1196 in include/onnxruntime/core/graph/graph.h

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] include/onnxruntime/core/graph/graph.h#L1196

 Lines should be <= 120 characters long  [whitespace/line_length] [2]
Raw output
include/onnxruntime/core/graph/graph.h:1196:  Lines should be <= 120 characters long  [whitespace/line_length] [2]

Check notice on line 1640 in include/onnxruntime/core/graph/graph.h

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] include/onnxruntime/core/graph/graph.h#L1640

 Lines should be <= 120 characters long  [whitespace/line_length] [2]
Raw output
include/onnxruntime/core/graph/graph.h:1640:  Lines should be <= 120 characters long  [whitespace/line_length] [2]

Check notice on line 79 in include/onnxruntime/core/platform/Barrier.h

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] include/onnxruntime/core/platform/Barrier.h#L79

 You don't need a ; after a }  [readability/braces] [4]
Raw output
include/onnxruntime/core/platform/Barrier.h:79:  You don't need a ; after a }  [readability/braces] [4]