merge openCLMallocPitch and openCLMallocPitchEx into one interface

This commit is contained in:
yao
2013-06-07 15:27:44 +08:00
parent 61567adc5d
commit 960a0eacf3
3 changed files with 23 additions and 13 deletions

View File

@@ -65,9 +65,9 @@ namespace cv
clMemcpyDeviceToDevice
};
///////////////////////////OpenCL call wrappers////////////////////////////
//void CV_EXPORTS openCLMallocPitch(Context *clCxt, void **dev_ptr, size_t *pitch,
// size_t widthInBytes, size_t height);
void CV_EXPORTS openCLMallocPitch(Context *clCxt, void **dev_ptr, size_t *pitch,
size_t widthInBytes, size_t height);
void CV_EXPORTS openCLMallocPitchEx(Context *clCxt, void **dev_ptr, size_t *pitch,
size_t widthInBytes, size_t height,
DevMemRW rw_type, DevMemType mem_type, void* hptr = 0);
void CV_EXPORTS openCLMemcpy2D(Context *clCxt, void *dst, size_t dpitch,