Skip to content

Commit 5d7b8c1

Browse files
[skip ci] Auto-format code with clang-format and black
1 parent cca6486 commit 5d7b8c1

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

csrc/lib/ops/cvtRGBtoGray/op.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
#include "pmpp/types/cxx_types.hpp"
44
#include "pmpp/utils/address.hpp"
5-
#include "pmpp/utils/math.hpp"
65
#include "pmpp/utils/common.cuh"
6+
#include "pmpp/utils/math.hpp"
77

88
namespace pmpp::ops::cuda
99
{

csrc/lib/ops/vecAdd/op.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#include <cuda_runtime.h>
22

33
#include "pmpp/types/cxx_types.hpp"
4-
#include "pmpp/utils/math.hpp"
54
#include "pmpp/utils/common.cuh"
5+
#include "pmpp/utils/math.hpp"
66

77
namespace pmpp::ops::cuda
88
{

csrc/test/main.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ auto main(int argc, char** argv) -> int
1313

1414
cxxopts::Options options("pmpp-test", "Test suite for PMPP");
1515

16-
options.add_options()("c,config", "Path to the configuration file",
17-
cxxopts::value<std::string>()->default_value(
18-
"configs/ctests.yml"));
16+
options.add_options()(
17+
"c,config", "Path to the configuration file",
18+
cxxopts::value<std::string>()->default_value("configs/ctests.yml"));
1919
auto optResult = options.parse(argc, argv);
2020

2121
pmpp::test::ops::OpTest::setConfigs(optResult["config"].as<std::string>());

test/test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,3 @@
2020
print(pic_out_cuda.cpu())
2121

2222
print(torch.ops.pmpp.matmul(torch.ones((32, 32)).cuda(), torch.ones((32, 32)).cuda()))
23-

0 commit comments

Comments
 (0)