1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-24 20:01:12 +08:00

2 Commits

Author SHA1 Message Date
MengqingCao
09ed18d280 Remove redundant code
1. remove threshold_opencv_kernel
2. typo ASCENDC_KERNELS_H
3. add ALIGN_UP macro
2024-02-21 10:33:09 +08:00
huafengchun
927aff695f Enable AscendC kernel operator
AscendC is an extended syntax for the C/C++ language that can be used to
write operators that run on Ascend NPU.

This commit introduce an operator(threshold) written in AscendC. Others
can refer to this to implement other operators.

AscendC can implement efficient fusion operators according to needs, in
this case, threshold execution speed increased by nearly 4 times.

Co-authored-by: CaoMengqing <cmq0113@163.com>
2023-12-28 16:33:38 +08:00