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

cflush return -5 after calling clEnqueueAcquireVA_APIMediaSurfacesINTEL

$
0
0

Hi,

I allocated the buffer with vaCreateSurfaces and map to opencl with clCreateFromVA_APIMediaSurfaceINTEL. But clFlush returns -5 (out of resource) after calling clEnqueueAcquireVA_APIMediaSurfacesINTEL, even though nothing is done in the cl code.

If I remove the clEnqueueAcquireVA_APIMediaSurfacesINTEL, clFlush returns with no error.

If I remove clFlush, the clEnqueueReleaseVA_APIMediaSurfacesINTEL returns -5.

I appreciate it very much if someone give any ideas.

Thread Topic: 

Question

Viewing all articles
Browse latest Browse all 1182

Trending Articles



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