Skip to content

Commit

Permalink
[Feature] Add MLU support for Sparse Convolution op (open-mmlab#2589)
Browse files Browse the repository at this point in the history
* [Feature] Add sparse convolution MLU API

* [Feature] update cpp code style

* end-of-file

* delete libext.a

* code style

* update ops.md

---------

Co-authored-by: budefei <budefei@cambricon.com>
  • Loading branch information
2 people authored and ClowDragon committed Oct 24, 2023
1 parent 770fc8c commit ba7e8f1
Show file tree
Hide file tree
Showing 7 changed files with 508 additions and 24 deletions.
2 changes: 1 addition & 1 deletion docs/en/understand_mmcv/ops.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ We implement common ops used in detection, segmentation, etc.
| SigmoidFocalLoss | ||| ||
| SoftmaxFocalLoss | || | ||
| SoftNMS | || | | |
| Sparse Convolution | || | | |
| Sparse Convolution | || | | |
| Synchronized BatchNorm | || | | |
| ThreeInterpolate | || | | |
| ThreeNN | ||| | |
Expand Down
2 changes: 1 addition & 1 deletion docs/zh_cn/understand_mmcv/ops.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ MMCV 提供了检测、分割等任务中常用的算子
| SigmoidFocalLoss | ||| ||
| SoftmaxFocalLoss | || | ||
| SoftNMS | || | | |
| Sparse Convolution | || | | |
| Sparse Convolution | || | | |
| Synchronized BatchNorm | || | | |
| ThreeInterpolate | || | | |
| ThreeNN | ||| | |
Expand Down
4 changes: 2 additions & 2 deletions mmcv/ops/csrc/pytorch/mlu/mlu_common_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
#include "pytorch_device_registry.hpp"

#define MLUOP_MAJOR 0
#define MLUOP_MINOR 4
#define MLUOP_PATCHLEVEL 1
#define MLUOP_MINOR 5
#define MLUOP_PATCHLEVEL 302

mluOpDataType_t getMluOpDataType(const caffe2::TypeMeta& data_type);
mluOpTensorLayout_t getMluOpSuggestLayout(const at::Tensor& input);
Expand Down
Loading

0 comments on commit ba7e8f1

Please sign in to comment.