Quantcast
Channel: Intel® Software - OpenCL*
Viewing all articles
Browse latest Browse all 1182

Out of memory error from clBuildProgram

$
0
0

After adding too many lines to my kernels, clBuildProgram() is returning the error CL_BUILD_PROGRAM_FAILURE from the driver. clGetProgramBuildInfo() returns the string "Error: out of memory." and nothing else. If I remove enough lines of code from my OpenCL code, the error goes away. If I change the device from CL_DEVICE_TYPE_GPU to CL_DEVICE_TYPE_CPU the error goes away. The total number of lines of code in my program is about 900.

Processor: 2.2 Ghz Intel Core i7

Graphics: Intel Iris Pro 1536MB

OSX 10.10.5

I'm using whatever comes standard with that version of OSX, I haven't installed anything else, not even XCode.

My problem seems to be identical to that of this person: https://software.intel.com/en-us/forums/opencl/topic/559994

I'm trying to get clearance to post the source code, but in the meantime any ideas?


Viewing all articles
Browse latest Browse all 1182

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>