mirror of
https://github.com/zebrajr/opencv.git
synced 2025-12-06 12:19:50 +01:00
Merge pull request #27742 from asmorkalov:as/clang21
Build fix for Clang 21.
This commit is contained in:
commit
e22c1065ec
|
|
@ -1185,7 +1185,7 @@ public:
|
||||||
PoolingInvoker::run(src, rois, dst, mask, kernel_size, strides, pads_begin, pads_end, avePoolPaddedArea, type, spatialScale, computeMaxIdx, nstripes);
|
PoolingInvoker::run(src, rois, dst, mask, kernel_size, strides, pads_begin, pads_end, avePoolPaddedArea, type, spatialScale, computeMaxIdx, nstripes);
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual Ptr<BackendNode> initMaxPoolingHalide(const std::vector<Ptr<BackendWrapper> > &inputs)
|
Ptr<BackendNode> initMaxPoolingHalide(const std::vector<Ptr<BackendWrapper> > &inputs)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_HALIDE
|
#ifdef HAVE_HALIDE
|
||||||
Halide::Buffer<float> inputBuffer = halideBuffer(inputs[0]);
|
Halide::Buffer<float> inputBuffer = halideBuffer(inputs[0]);
|
||||||
|
|
@ -1242,7 +1242,7 @@ public:
|
||||||
return Ptr<BackendNode>();
|
return Ptr<BackendNode>();
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual Ptr<BackendNode> initAvePoolingHalide(const std::vector<Ptr<BackendWrapper> > &inputs)
|
Ptr<BackendNode> initAvePoolingHalide(const std::vector<Ptr<BackendWrapper> > &inputs)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_HALIDE
|
#ifdef HAVE_HALIDE
|
||||||
Halide::Buffer<float> inputBuffer = halideBuffer(inputs[0]);
|
Halide::Buffer<float> inputBuffer = halideBuffer(inputs[0]);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user