AnsweredAssumed Answered

Incorrect error messages for out-of-memory in overcommitted situation

Question asked by inducer77 on Jan 20, 2013
Latest reply on Jul 4, 2013 by himanshu.gautam

Hi there,

 

OpenCL allows buffer allocations to succeed even when nominally all available memory is exhausted. This memory is only required to be available when commands/kernels are enqueued using these buffers. If that is not the case, the correct error to return is CL_MEM_OBJECT_ALLOCATION_FAILURE. It seems that the 13.1 drivers (at least on my "Devastator" APU) return CL_OUT_OF_RESOURCES. This is confusing and appears to be non-compliant. It'd be great if this could be fixed.

 

Thanks,

Andreas

Outcomes