diff --git a/modules/ocl/src/initialization.cpp b/modules/ocl/src/initialization.cpp index 50b0873a15..7c097a2c8c 100644 --- a/modules/ocl/src/initialization.cpp +++ b/modules/ocl/src/initialization.cpp @@ -422,12 +422,6 @@ namespace cv return buffer; } - //void openCLMallocPitch(Context *clCxt, void **dev_ptr, size_t *pitch, - // size_t widthInBytes, size_t height) - //{ - // openCLMallocPitchEx(clCxt, dev_ptr, pitch, widthInBytes, height, gDeviceMemRW, gDeviceMemType); - //} - void openCLMallocPitch(Context *clCxt, void **dev_ptr, size_t *pitch, size_t widthInBytes, size_t height, DevMemRW rw_type, DevMemType mem_type, void* hptr)