Media (Intel® Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK
Announcements
The Intel Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.

How to know GPU memory allocation is not possible

KK
Beginner
241 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
241 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.

0 Kudos
Reply