Skip to content

fix warning and lint #23116

fix warning and lint

fix warning and lint #23116

Triggered via push November 4, 2023 17:44
Status Success
Total duration 21s
Artifacts
Validation
13s
Validation
Fit to window
Zoom out
Zoom in

Annotations

18 warnings
[cpplint] onnxruntime/contrib_ops/cuda/bert/group_query_attention_impl.cu#L45: onnxruntime/contrib_ops/cuda/bert/group_query_attention_impl.cu#L45
Found C system header after other header. Should be: group_query_attention_impl.h, c system, c++ system, other. [build/include_order] [4]
[cpplint] onnxruntime/contrib_ops/cuda/bert/group_query_attention_impl.cu#L586: onnxruntime/contrib_ops/cuda/bert/group_query_attention_impl.cu#L586
Using deprecated casting style. Use static_cast<int>(...) instead [readability/casting] [4]
[cpplint] onnxruntime/contrib_ops/cuda/bert/group_query_attention_impl.cu#L696: onnxruntime/contrib_ops/cuda/bert/group_query_attention_impl.cu#L696
Using deprecated casting style. Use static_cast<int>(...) instead [readability/casting] [4]
[cpplint] onnxruntime/contrib_ops/cuda/bert/group_query_attention_impl.cu#L738: onnxruntime/contrib_ops/cuda/bert/group_query_attention_impl.cu#L738
At least two spaces is best between code and comments [whitespace/comments] [2]
[cpplint] onnxruntime/contrib_ops/cuda/bert/group_query_attention_impl.cu#L757: onnxruntime/contrib_ops/cuda/bert/group_query_attention_impl.cu#L757
At least two spaces is best between code and comments [whitespace/comments] [2]
[cpplint] onnxruntime/contrib_ops/cuda/bert/group_query_attention_impl.cu#L763: onnxruntime/contrib_ops/cuda/bert/group_query_attention_impl.cu#L763
At least two spaces is best between code and comments [whitespace/comments] [2]
[cpplint] onnxruntime/contrib_ops/cuda/bert/group_query_attention_impl.cu#L765: onnxruntime/contrib_ops/cuda/bert/group_query_attention_impl.cu#L765
At least two spaces is best between code and comments [whitespace/comments] [2]