Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Npu allocator #437

Closed
wants to merge 39 commits into from

add command line parameter in perf test for using remote tensors

ef44c87
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Closed

Npu allocator #437

add command line parameter in perf test for using remote tensors
ef44c87
Select commit
Loading
Failed to load commit list.
GitHub Actions / cpplint completed Aug 29, 2024 in 0s

reviewdog [cpplint] report

reported by reviewdog 🐶

Findings (9)

onnxruntime/core/providers/openvino/backends/basic_backend.cc|300| Using C-style cast. Use reinterpret_cast<void*>(...) instead [readability/casting] [4]
onnxruntime/core/providers/openvino/backends/basic_backend.cc|366| Using C-style cast. Use reinterpret_cast<void*>(...) instead [readability/casting] [4]
onnxruntime/core/providers/openvino/backends/basic_backend.cc|367| Missing space before ( in if( [whitespace/parens] [5]
onnxruntime/core/providers/openvino/backends/basic_backend.h|70| Add #include for pair<> [build/include_what_you_use] [4]
onnxruntime/core/providers/openvino/openvino_execution_provider.cc|187| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/openvino/ov_allocator.cc|11| Do not use namespace using-directives. Use using-declarations instead. [build/namespaces] [5]
onnxruntime/core/providers/openvino/ov_allocator.cc|19| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/openvino/ov_allocator.cc|38| Redundant blank line at the end of a code block should be deleted. [whitespace/blank_line] [3]
onnxruntime/core/providers/openvino/ov_allocator.cc|50| Add #include for string [build/include_what_you_use] [4]

Filtered Findings (19294)

include/onnxruntime/core/common/common.h|23| is an unapproved C++11 header. [build/c++11] [5]
include/onnxruntime/core/common/common.h|96| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/common/common.h|252| Use int16/int64/etc, rather than the C type long [runtime/int] [4]
include/onnxruntime/core/common/common.h|257| Use int16/int64/etc, rather than the C type long [runtime/int] [4]
include/onnxruntime/core/common/const_pointer_container.h|53| You don't need a ; after a } [readability/braces] [4]
include/onnxruntime/core/common/eigen_common_wrapper.h|8| Include the directory when naming header files [build/include_subdir] [4]
include/onnxruntime/core/common/eigen_common_wrapper.h|10| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/common/eigen_common_wrapper.h|30| Lines should be <= 120 characters long [whitespace/line_length] [2]
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/exceptions.h|55| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/common/gpu_profiler_common.h|| No copyright message found. You should have a line: "Copyright [year] " [legal/copyright] [5]
include/onnxruntime/core/common/gpu_profiler_common.h|6| Found C++ system header after other header. Should be: gpu_profiler_common.h, c system, c++ system, other. [build/include_order] [4]
include/onnxruntime/core/common/gpu_profiler_common.h|7| Found C++ system header after other header. Should be: gpu_profiler_common.h, c system, c++ system, other. [build/include_order] [4]
include/onnxruntime/core/common/gpu_profiler_common.h|8| Found C++ system header after other header. Should be: gpu_profiler_common.h, c system, c++ system, other. [build/include_order] [4]
include/onnxruntime/core/common/gpu_profiler_common.h|8| is an unapproved C++11 header. [build/c++11] [5]
include/onnxruntime/core/common/gpu_profiler_common.h|9| Found C++ system header after other header. Should be: gpu_profiler_common.h, c system, c++ system, other. [build/include_order] [4]
include/onnxruntime/core/common/gpu_profiler_common.h|10| Found C++ system header after other header. Should be: gpu_profiler_common.h, c system, c++ system, other. [build/include_order] [4]
include/onnxruntime/core/common/gpu_profiler_common.h|11| Found C++ system header after other header. Should be: gpu_profiler_common.h, c system, c++ system, other. [build/include_order] [4]
include/onnxruntime/core/common/gpu_profiler_common.h|12| Found C++ system header after other header. Should be: gpu_profiler_common.h, c system, c++ system, other. [build/include_order] [4]
include/onnxruntime/core/common/gpu_profiler_common.h|193| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/common/gpu_profiler_common.h|242| protected: should be indented +1 space inside class GPUTracerManager [whitespace/indent] [3]
include/onnxruntime/core/common/gpu_profiler_common.h|389| Use int16/int64/etc, rather than the C type long [runtime/int] [4]
include/onnxruntime/core/common/gpu_profiler_common.h|439| "virtual" is redundant since function is already declared as "override" [readability/inheritance] [4]
include/onnxruntime/core/common/gpu_profiler_common.h|446| "virtual" is redundant since function is already declared as "override" [readability/inheritance] [4]
include/onnxruntime/core/common/gpu_profiler_common.h|453| "virtual" is redundant since function is already declared as "override" [readability/inheritance] [4]
include/onnxruntime/core/common/gpu_profiler_common.h|458| "virtual" is redundant since function is already declared as "override" [readability/inheritance] [4]
include/onnxruntime/core/common/inlined_containers.h|166| Add #include for equal_to<> [build/include_what_you_use] [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/capture.h|97| Add #include for string [build/include_what_you_use] [4]
include/onnxruntime/core/common/logging/isink.h|33| You don't need a ; after a } [readability/braces] [4]
include/onnxruntime/core/common/logging/logging.h|7| is an unapproved C++11 header. [build/c++11] [5]
include/onnxruntime/core/common/logging/logging.h|11| is an unapproved C++11 header. [build/c++11] [5]
include/onnxruntime/core/common/logging/logging.h|61| Missing username in TODO; it should look like "// TODO(my_username): Stuff." [readability/todo] [2]
include/onnxruntime/core/common/logging/logging.h|62| Missing username in TODO; it should look like "// TODO(my_username): Stuff." [readability/todo] [2]
include/onnxruntime/core/common/logging/logging.h|86| Missing username in TODO; it should look like "// TODO(my_username): Stuff." [readability/todo] [2]
include/onnxruntime/core/common/logging/logging.h|117| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/common/logging/logging.h|185| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/common/logging/macros.h|73| If an else has a brace on one side, it should have it on both [readability/braces] [5]
include/onnxruntime/core/common/logging/macros.h|80| If an else has a brace on one side, it should have it on both [readability/braces] [5]
include/onnxruntime/core/common/logging/macros.h|132| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/common/logging/macros.h|157| If an else has a brace on one side, it should have it on both [readability/braces] [5]
include/onnxruntime/core/common/logging/macros.h|163| If an else has a brace on one side, it should have it on both [readability/braces] [5]
include/onnxruntime/core/common/logging/macros.h|169| If an else has a brace on one side, it should have it on both [readability/braces] [5]
include/onnxruntime/core/common/logging/macros.h|175| If an else has a brace on one side, it should have it on both [readability/braces] [5]
include/onnxruntime/core/common/logging/macros.h|213| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/common/logging/macros.h|216| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/common/logging/macros.h|235| If an else has a brace on one side, it should have it on both [readability/braces] [5]
include/onnxruntime/core/common/logging/macros.h|241| If an else has a brace on one side, it should have it on both [readability/braces] [5]
include/onnxruntime/core/common/logging/macros.h|259| If an else has a brace on one side, it should have it on both [readability/braces] [5]
include/onnxruntime/core/common/logging/macros.h|263| If an else has a brace on one side, it should have it on both [readability/braces] [5]
include/onnxruntime/core/common/logging/sink_types.h|| No copyright message found. You should have a line: "Copyright [year] " [legal/copyright] [5]
include/onnxruntime/core/common/make_string.h|122| Add #include for string [build/include_what_you_use] [4]
include/onnxruntime/core/common/narrow.h|45| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/common/narrow.h|46| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/common/parse_string.h|43| Add #include for move [build/include_what_you_use] [4]
include/onnxruntime/core/common/parse_string.h|47| Add #include for string [build/include_what_you_use] [4]
include/onnxruntime/core/common/profiler_common.h|8| Found C++ system header after other header. Should be: profiler_common.h, c system, c++ system, other. [build/include_order] [4]
include/onnxruntime/core/common/profiler_common.h|9| Found C++ system header after other header. Should be: profiler_common.h, c system, c++ system, other. [build/include_order] [4]
include/onnxruntime/core/common/profiler_common.h|36| Use int16/int64/etc, rather than the C type long [runtime/int] [4]
include/onnxruntime/core/common/profiler_common.h|37| Use int16/int64/etc, rather than the C type long [runtime/int] [4]
include/onnxruntime/core/common/profiler_common.h|51| Use int16/int64/etc, rather than the C type long [runtime/int] [4]
include/onnxruntime/core/common/profiler_common.h|52| Use int16/int64/etc, rather than the C type long [runtime/int] [4]
include/onnxruntime/core/common/profiler_common.h|71| Use int16/int64/etc, rather than the C type long [runtime/int] [4]
include/onnxruntime/core/common/profiler_common.h|72| Use int16/int64/etc, rather than the C type long [runtime/int] [4]
include/onnxruntime/core/common/profiler_common.h|83| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/common/profiler_common.h|84| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/common/profiler_common.h|84| You don't need a ; after a } [readability/braces] [4]
include/onnxruntime/core/common/profiler_common.h|85| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/common/profiler_common.h|85| You don't need a ; after a } [readability/braces] [4]
include/onnxruntime/core/common/profiler_common.h|45| Add #include for move [build/include_what_you_use] [4]
include/onnxruntime/core/common/profiler_common.h|76| Add #include for vector<> [build/include_what_you_use] [4]
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/eager/ort_kernel_invoker.h|49| Add #include for shared_ptr<> [build/include_what_you_use] [4]
include/onnxruntime/core/framework/allocator.h|35| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/allocator.h|72| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/allocator.h|79| Single-parameter constructors should be marked explicit. [runtime/explicit] [5]
include/onnxruntime/core/framework/allocator.h|100| You don't need a ; after a } [readability/braces] [4]
include/onnxruntime/core/framework/allocator.h|249| You don't need a ; after a } [readability/braces] [4]
include/onnxruntime/core/framework/allocator.h|193| Add #include for move [build/include_what_you_use] [4]
include/onnxruntime/core/framework/allocator.h|269| Add #include for shared_ptr<> [build/include_what_you_use] [4]
include/onnxruntime/core/framework/buffer_deleter.h|10| Missing username in TODO; it should look like "// TODO(my_username): Stuff." [readability/todo] [2]
include/onnxruntime/core/framework/buffer_deleter.h|23| Missing username in TODO; it should look like "// TODO(my_username): Stuff." [readability/todo] [2]
include/onnxruntime/core/framework/buffer_deleter.h|15| Add #include for move [build/include_what_you_use] [4]
include/onnxruntime/core/framework/buffer_deleter.h|34| Add #include for unique_ptr<> [build/include_what_you_use] [4]
include/onnxruntime/core/framework/customregistry.h|46| Add #include for string [build/include_what_you_use] [4]
include/onnxruntime/core/framework/customregistry.h|46| Add #include for vector<> [build/include_what_you_use] [4]
include/onnxruntime/core/framework/customregistry.h|56| Add #include for shared_ptr<> [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/data_types.h|234| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/data_types.h|238| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/data_types.h|246| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/data_types.h|426| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/data_types.h|492| Do not use namespace using-directives. Use using-declarations instead. [build/namespaces] [5]
include/onnxruntime/core/framework/data_types.h|499| Missing username in TODO; it should look like "// TODO(my_username): Stuff." [readability/todo] [2]
include/onnxruntime/core/framework/data_types.h|582| Do not use namespace using-directives. Use using-declarations instead. [build/namespaces] [5]
include/onnxruntime/core/framework/data_types.h|654| Missing space before { [whitespace/braces] [5]
include/onnxruntime/core/framework/data_types.h|657| Do not use namespace using-directives. Use using-declarations instead. [build/namespaces] [5]
include/onnxruntime/core/framework/data_types.h|718| Single-parameter constructors should be marked explicit. [runtime/explicit] [5]
include/onnxruntime/core/framework/data_types.h|780| Do not use namespace using-directives. Use using-declarations instead. [build/namespaces] [5]
include/onnxruntime/core/framework/data_types.h|808| Do not use namespace using-directives. Use using-declarations instead. [build/namespaces] [5]
include/onnxruntime/core/framework/data_types.h|875| Do not use namespace using-directives. Use using-declarations instead. [build/namespaces] [5]
include/onnxruntime/core/framework/data_types.h|248| Add #include for vector<> [build/include_what_you_use] [4]
include/onnxruntime/core/framework/data_types_internal.h|30| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/data_types_internal.h|677| If an else has a brace on one side, it should have it on both [readability/braces] [5]
include/onnxruntime/core/framework/data_types_internal.h|545| Add #include for forward [build/include_what_you_use] [4]
include/onnxruntime/core/framework/data_types_internal.h|705| Add #include for map<> [build/include_what_you_use] [4]
include/onnxruntime/core/framework/execution_provider.h|67| Single-parameter constructors should be marked explicit. [runtime/explicit] [5]
include/onnxruntime/core/framework/execution_provider.h|154| You don't need a ; after a } [readability/braces] [4]
include/onnxruntime/core/framework/execution_provider.h|173| You don't need a ; after a } [readability/braces] [4]
include/onnxruntime/core/framework/execution_provider.h|325| You don't need a ; after a } [readability/braces] [4]
include/onnxruntime/core/framework/execution_provider.h|331| You don't need a ; after a } [readability/braces] [4]
include/onnxruntime/core/framework/execution_provider.h|331| Add #include for vector<> [build/include_what_you_use] [4]
include/onnxruntime/core/framework/execution_provider.h|343| Add #include for string [build/include_what_you_use] [4]
include/onnxruntime/core/framework/float16.h|7| Include the directory when naming header files [build/include_subdir] [4]
include/onnxruntime/core/framework/float16.h|9| Include the directory when naming header files [build/include_subdir] [4]
include/onnxruntime/core/framework/float16.h|85| Missing spaces around < [whitespace/operators] [3]
include/onnxruntime/core/framework/float16.h|100| Use int16/int64/etc, rather than the C type short [runtime/int] [4]
include/onnxruntime/core/framework/float16.h|216| Use int16/int64/etc, rather than the C type short [runtime/int] [4]
include/onnxruntime/core/framework/float16.h|268| Use int16/int64/etc, rather than the C type long [runtime/int] [4]
include/onnxruntime/core/framework/float16.h|276| Use int16/int64/etc, rather than the C type long [runtime/int] [4]
include/onnxruntime/core/framework/float16.h|165| Add #include for numeric_limits<> [build/include_what_you_use] [4]
include/onnxruntime/core/framework/float8.h|8| Include the directory when naming header files [build/include_subdir] [4]
include/onnxruntime/core/framework/float8.h|10| Include the directory when naming header files [build/include_subdir] [4]
include/onnxruntime/core/framework/float8.h|70| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/float8.h|151| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/float8.h|156| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/float8.h|157| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/float8.h|158| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/float8.h|164| Use int16/int64/etc, rather than the C type long [runtime/int] [4]
include/onnxruntime/core/framework/float8.h|234| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/float8.h|309| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/float8.h|310| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/float8.h|311| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/float8.h|317| Use int16/int64/etc, rather than the C type long [runtime/int] [4]
include/onnxruntime/core/framework/float8.h|390| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/float8.h|469| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/float8.h|470| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/float8.h|477| Use int16/int64/etc, rather than the C type long [runtime/int] [4]
include/onnxruntime/core/framework/float8.h|546| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/float8.h|614| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/float8.h|615| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/float8.h|616| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/float8.h|622| Use int16/int64/etc, rather than the C type long [runtime/int] [4]
include/onnxruntime/core/framework/framework_common.h|9| Include the directory when naming header files [build/include_subdir] [4]
include/onnxruntime/core/framework/framework_provider_common.h|8| Add #include for string [build/include_what_you_use] [4]
include/onnxruntime/core/framework/framework_provider_common.h|9| Add #include for vector<> [build/include_what_you_use] [4]
include/onnxruntime/core/framework/func_api.h|| No copyright message found. You should have a line: "Copyright [year] " [legal/copyright] [5]
include/onnxruntime/core/framework/func_api.h|3| Missing username in TODO; it should look like "// TODO(my_username): Stuff." [readability/todo] [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/kernel_def_builder.h|31| Zero-parameter constructors should not be marked explicit. [runtime/explicit] [5]
include/onnxruntime/core/framework/kernel_def_builder.h|168| Zero-parameter constructors should not be marked explicit. [runtime/explicit] [5]
include/onnxruntime/core/framework/kernel_def_builder.h|21| Add #include for map<> [build/include_what_you_use] [4]
include/onnxruntime/core/framework/kernel_def_builder.h|353| Add #include for move [build/include_what_you_use] [4]
include/onnxruntime/core/framework/kernel_registry.h|12| Add #include for multimap<> [build/include_what_you_use] [4]
include/onnxruntime/core/framework/kernel_registry.h|13| Add #include for pair<> [build/include_what_you_use] [4]
include/onnxruntime/core/framework/kernel_registry.h|13| Add #include for vector<> [build/include_what_you_use] [4]
include/onnxruntime/core/framework/kernel_registry.h|118| Add #include for string [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.h|118| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|119| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|120| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|142| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|143| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|250| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|251| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|252| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|253| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|254| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|255| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|256| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|257| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|258| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|259| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|260| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|261| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|276| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|277| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|278| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|279| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|280| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|281| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|282| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|283| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|284| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|285| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|286| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|287| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|293| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|294| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|295| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|296| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|297| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|298| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|299| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|300| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|301| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|302| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|303| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|304| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|322| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|323| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|324| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|325| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|326| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|327| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|328| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|329| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|330| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|331| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|332| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|333| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|334| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|340| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|341| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|342| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|343| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|344| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|345| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|346| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|347| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|348| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|349| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|350| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|351| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|352| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|353| Lines should be <= 120 characters long [whitespace/line_length] [2]
include/onnxruntime/core/framework/op_kernel.h|102| Add #include for string [build/include_what_you_use] [4]
... (Too many findings. Dropped some findings)

Annotations

Check notice on line 300 in onnxruntime/core/providers/openvino/backends/basic_backend.cc

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] onnxruntime/core/providers/openvino/backends/basic_backend.cc#L300

 Using C-style cast.  Use reinterpret_cast<void*>(...) instead  [readability/casting] [4]
Raw output
onnxruntime/core/providers/openvino/backends/basic_backend.cc:300:  Using C-style cast.  Use reinterpret_cast<void*>(...) instead  [readability/casting] [4]

Check notice on line 366 in onnxruntime/core/providers/openvino/backends/basic_backend.cc

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] onnxruntime/core/providers/openvino/backends/basic_backend.cc#L366

 Using C-style cast.  Use reinterpret_cast<void*>(...) instead  [readability/casting] [4]
Raw output
onnxruntime/core/providers/openvino/backends/basic_backend.cc:366:  Using C-style cast.  Use reinterpret_cast<void*>(...) instead  [readability/casting] [4]

Check notice on line 367 in onnxruntime/core/providers/openvino/backends/basic_backend.cc

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] onnxruntime/core/providers/openvino/backends/basic_backend.cc#L367

 Missing space before ( in if(  [whitespace/parens] [5]
Raw output
onnxruntime/core/providers/openvino/backends/basic_backend.cc:367:  Missing space before ( in if(  [whitespace/parens] [5]

Check notice on line 70 in onnxruntime/core/providers/openvino/backends/basic_backend.h

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] onnxruntime/core/providers/openvino/backends/basic_backend.h#L70

 Add #include <utility> for pair<>  [build/include_what_you_use] [4]
Raw output
onnxruntime/core/providers/openvino/backends/basic_backend.h:70:  Add #include <utility> for pair<>  [build/include_what_you_use] [4]

Check notice on line 187 in onnxruntime/core/providers/openvino/openvino_execution_provider.cc

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] onnxruntime/core/providers/openvino/openvino_execution_provider.cc#L187

 Lines should be <= 120 characters long  [whitespace/line_length] [2]
Raw output
onnxruntime/core/providers/openvino/openvino_execution_provider.cc:187:  Lines should be <= 120 characters long  [whitespace/line_length] [2]

Check notice on line 11 in onnxruntime/core/providers/openvino/ov_allocator.cc

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] onnxruntime/core/providers/openvino/ov_allocator.cc#L11

 Do not use namespace using-directives.  Use using-declarations instead.  [build/namespaces] [5]
Raw output
onnxruntime/core/providers/openvino/ov_allocator.cc:11:  Do not use namespace using-directives.  Use using-declarations instead.  [build/namespaces] [5]

Check notice on line 19 in onnxruntime/core/providers/openvino/ov_allocator.cc

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] onnxruntime/core/providers/openvino/ov_allocator.cc#L19

 Lines should be <= 120 characters long  [whitespace/line_length] [2]
Raw output
onnxruntime/core/providers/openvino/ov_allocator.cc:19:  Lines should be <= 120 characters long  [whitespace/line_length] [2]

Check notice on line 38 in onnxruntime/core/providers/openvino/ov_allocator.cc

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] onnxruntime/core/providers/openvino/ov_allocator.cc#L38

 Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]
Raw output
onnxruntime/core/providers/openvino/ov_allocator.cc:38:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]

Check notice on line 50 in onnxruntime/core/providers/openvino/ov_allocator.cc

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] onnxruntime/core/providers/openvino/ov_allocator.cc#L50

 Add #include <string> for string  [build/include_what_you_use] [4]
Raw output
onnxruntime/core/providers/openvino/ov_allocator.cc:50:  Add #include <string> for string  [build/include_what_you_use] [4]