BGProcessingTask Using GPU in Background

I was wondering if it was possible for a BGProcessingTask to use the GPU in the background. My use case would be to modify a video file.

I know normally that this is not allowed, but was wondering if by using a BGProcessingTask I get special access.

I have tried in a demo project, and have gotten some confusing results. Sometimes it appears that it works (the GPU operation completes like it would in the foreground) and sometimes it does not work (the GPU operation does not write anything to the output texture).

Was wondering if Apple has any specific guidance.

BGProcessingTask Using GPU in Background
 
 
Q