Skip to content

Remove redundant core enumeration #24291

Remove redundant core enumeration

Remove redundant core enumeration #24291

Triggered via push November 13, 2023 23:15
Status Success
Total duration 29s
Artifacts
Validation
18s
Validation
Fit to window
Zoom out
Zoom in

Annotations

9 warnings
[cpplint] winml/lib/Api/HardwareCoreEnumerator.cpp#L1: winml/lib/Api/HardwareCoreEnumerator.cpp#L1
At least two spaces is best between code and comments [whitespace/comments] [2]
[cpplint] winml/lib/Api/HardwareCoreEnumerator.cpp#L16: winml/lib/Api/HardwareCoreEnumerator.cpp#L16
Use int16/int64/etc, rather than the C type long [runtime/int] [4]
[cpplint] winml/lib/Api/HardwareCoreEnumerator.cpp#L17: winml/lib/Api/HardwareCoreEnumerator.cpp#L17
Use int16/int64/etc, rather than the C type long [runtime/int] [4]
[cpplint] winml/lib/Api/HardwareCoreEnumerator.cpp#L30: winml/lib/Api/HardwareCoreEnumerator.cpp#L30
Closing ) should be moved to the previous line [whitespace/parens] [2]
[cpplint] winml/lib/Api/HardwareCoreEnumerator.cpp#L46: winml/lib/Api/HardwareCoreEnumerator.cpp#L46
Lines should be <= 120 characters long [whitespace/line_length] [2]
[cpplint] winml/lib/Api/HardwareCoreEnumerator.cpp#L26: winml/lib/Api/HardwareCoreEnumerator.cpp#L26
Add #include <memory> for make_unique<> [build/include_what_you_use] [4]
[cpplint] winml/lib/Api/HardwareCoreEnumerator.cpp#L34: winml/lib/Api/HardwareCoreEnumerator.cpp#L34
Add #include <utility> for move [build/include_what_you_use] [4]
[cpplint] winml/lib/Api/HardwareCoreEnumerator.h#L1: winml/lib/Api/HardwareCoreEnumerator.h#L1
At least two spaces is best between code and comments [whitespace/comments] [2]
[cpplint] winml/lib/Api/LearningModelSessionOptions.cpp#L11: winml/lib/Api/LearningModelSessionOptions.cpp#L11
{ should almost always be at the end of the previous line [whitespace/braces] [4]