Media (Intel® oneAPI Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools from Intel. This includes Intel® oneAPI Video Processing Library and Intel® Media SDK.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

How to know GPU memory allocation is not possible

KK
Beginner
126 Views

 

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
126 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