Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenCL crash with CL_INVALID_BUFFER_SIZE

Hi all,

I compiled OpenCV 2.4.3 with success, with the OpenCL support AMD SDK v2.8, with Mingw on Win7 64. Now, my first program compiles fine, but crashes when executing a simple :

ocl::oclMat OCL_Mat_Img( Mat_Img );

with the following error :

OpenCV Error: Gpu API call (CL_INVALID_BUFFER_SIZE) in openCLMallocPitch,...

There is probably something wrong in this first OpenCL test for me... For example, where should I place .cl kernels regading to my .exe ?

Thanks for your help !