1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00

Merge pull request #25978 from chacha21:cuda_stdallocator

Adding getStdAllocator() to cv::cuda::GpuMat
This commit is contained in:
Alexander Smorkalov
2024-08-05 10:58:33 +03:00
committed by GitHub
3 changed files with 13 additions and 0 deletions
@@ -118,6 +118,7 @@ public:
//! default allocator
CV_WRAP static GpuMat::Allocator* defaultAllocator();
CV_WRAP static void setDefaultAllocator(GpuMat::Allocator* allocator);
CV_WRAP static GpuMat::Allocator* getStdAllocator();
//! default constructor
CV_WRAP explicit GpuMat(GpuMat::Allocator* allocator = GpuMat::defaultAllocator());