Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
MMCV
Commits
1c1964cb
Commit
1c1964cb
authored
Sep 14, 2022
by
q.yao
Committed by
Zaida Zhou
Oct 22, 2022
Browse files
Fix spconv clang-format (#2260)
parent
8fae3b46
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
0 deletions
+18
-0
mmcv/ops/csrc/pytorch/cuda/fused_spconv_ops_cuda.cu
mmcv/ops/csrc/pytorch/cuda/fused_spconv_ops_cuda.cu
+3
-0
mmcv/ops/csrc/pytorch/cuda/sparse_indice.cu
mmcv/ops/csrc/pytorch/cuda/sparse_indice.cu
+3
-0
mmcv/ops/csrc/pytorch/cuda/sparse_maxpool.cu
mmcv/ops/csrc/pytorch/cuda/sparse_maxpool.cu
+3
-0
mmcv/ops/csrc/pytorch/cuda/sparse_pool_ops_cuda.cu
mmcv/ops/csrc/pytorch/cuda/sparse_pool_ops_cuda.cu
+3
-0
mmcv/ops/csrc/pytorch/cuda/sparse_reordering.cu
mmcv/ops/csrc/pytorch/cuda/sparse_reordering.cu
+3
-0
mmcv/ops/csrc/pytorch/cuda/spconv_ops_cuda.cu
mmcv/ops/csrc/pytorch/cuda/spconv_ops_cuda.cu
+3
-0
No files found.
mmcv/ops/csrc/pytorch/cuda/fused_spconv_ops_cuda.cu
View file @
1c1964cb
#include <cuda_runtime_api.h>
#include <cuda_runtime_api.h>
#include <torch/script.h>
#include <torch/script.h>
// clang-format off
// TODO: make spconv_utils.h order agnostic
#include "../spconv_utils.h"
#include "../spconv_utils.h"
// clang-format on
#include <utils/spconv/spconv/indice.h>
#include <utils/spconv/spconv/indice.h>
#include <utils/spconv/spconv/reordering.h>
#include <utils/spconv/spconv/reordering.h>
...
...
mmcv/ops/csrc/pytorch/cuda/sparse_indice.cu
View file @
1c1964cb
...
@@ -13,7 +13,10 @@
...
@@ -13,7 +13,10 @@
// limitations under the License.
// limitations under the License.
#include <ATen/ATen.h>
#include <ATen/ATen.h>
// clang-format off
// TODO: make spconv_utils.h order agnostic
#include "../spconv_utils.h"
#include "../spconv_utils.h"
// clang-format on
#include <utils/spconv/spconv/indice.h>
#include <utils/spconv/spconv/indice.h>
#include <utils/spconv/spconv/mp_helper.h>
#include <utils/spconv/spconv/mp_helper.h>
#include <utils/spconv/tensorview/helper_launch.h>
#include <utils/spconv/tensorview/helper_launch.h>
...
...
mmcv/ops/csrc/pytorch/cuda/sparse_maxpool.cu
View file @
1c1964cb
...
@@ -13,7 +13,10 @@
...
@@ -13,7 +13,10 @@
// limitations under the License.
// limitations under the License.
#include <ATen/ATen.h>
#include <ATen/ATen.h>
// clang-format off
// TODO: make spconv_utils.h order agnostic
#include "../spconv_utils.h"
#include "../spconv_utils.h"
// clang-format on
#include <utils/spconv/spconv/maxpool.h>
#include <utils/spconv/spconv/maxpool.h>
#include <utils/spconv/spconv/mp_helper.h>
#include <utils/spconv/spconv/mp_helper.h>
#include <utils/spconv/tensorview/helper_launch.h>
#include <utils/spconv/tensorview/helper_launch.h>
...
...
mmcv/ops/csrc/pytorch/cuda/sparse_pool_ops_cuda.cu
View file @
1c1964cb
#include <cuda_runtime_api.h>
#include <cuda_runtime_api.h>
#include <torch/script.h>
#include <torch/script.h>
// clang-format off
// TODO: make spconv_utils.h order agnostic
#include "../spconv_utils.h"
#include "../spconv_utils.h"
// clang-format on
#include <utils/spconv/spconv/maxpool.h>
#include <utils/spconv/spconv/maxpool.h>
#include "pytorch_cuda_helper.hpp"
#include "pytorch_cuda_helper.hpp"
...
...
mmcv/ops/csrc/pytorch/cuda/sparse_reordering.cu
View file @
1c1964cb
...
@@ -13,7 +13,10 @@
...
@@ -13,7 +13,10 @@
// limitations under the License.
// limitations under the License.
#include <ATen/ATen.h>
#include <ATen/ATen.h>
// clang-format off
// TODO: make spconv_utils.h order agnostic
#include "../spconv_utils.h"
#include "../spconv_utils.h"
// clang-format on
#include <utils/spconv/spconv/mp_helper.h>
#include <utils/spconv/spconv/mp_helper.h>
#include <utils/spconv/spconv/reordering.h>
#include <utils/spconv/spconv/reordering.h>
#include <utils/spconv/tensorview/helper_launch.h>
#include <utils/spconv/tensorview/helper_launch.h>
...
...
mmcv/ops/csrc/pytorch/cuda/spconv_ops_cuda.cu
View file @
1c1964cb
#include <cuda_runtime_api.h>
#include <cuda_runtime_api.h>
#include <torch/script.h>
#include <torch/script.h>
// clang-format off
// TODO: make spconv_utils.h order agnostic
#include "../spconv_utils.h"
#include "../spconv_utils.h"
// clang-format on
#include <utils/spconv/spconv/indice.h>
#include <utils/spconv/spconv/indice.h>
#include <utils/spconv/spconv/reordering.h>
#include <utils/spconv/spconv/reordering.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment