Skip to content

Commit

Permalink
suppress cppcheck warning to test CI
Browse files Browse the repository at this point in the history
  • Loading branch information
junliume authored and amberhassaan committed Sep 25, 2023
1 parent 7e8a258 commit cadfb95
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/gpu_reference_kernel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@ void pad_tensor_strides(std::vector<int>& strides)
// int c = 2;
for(auto& v : strides)
{
// cppcheck-suppress useStlAlgorithm
v = v * c;
}
pvec("new strides", strides);
Expand Down

0 comments on commit cadfb95

Please sign in to comment.