Community
cancel
Showing results for 
Search instead for 
Did you mean: 
KK
Beginner
48 Views

How to know GPU memory allocation is not possible

 

We are using Intel media sdk32 bit for GPU mode..

Once the memory is  fully utilized , how we can effectively go to CPU mode. We observed that, once the memory is full, CDecodingPipeline.init fails, but init() method  can fail because of lot of reasons.

Any specific way to know GPU allocation is not possible? I mean any specific error code or specific API to see whether GPU allocation is possible or not.

0 Kudos
1 Reply
Anthony_P_Intel
Employee
48 Views

Hi,

See section 4.16 of Intel Media Developer's Guide

In most cases, the Init will fail with MFX_ERR_MEMORY_ALLOC (-4), in low memory situations, but there can be other error codes returned that are result of low memory.

Reply