Parallel Metal queue for non-real time tasks

Hi, all!

I have a workload where I have a real-time renderer (which runs at up to 120FPS rate depending on the device's screen) and non-real-time kernel that should run in a loop but it can't handle the 60 (even 30) FPS requirement.

So what I want to achieve is to create two MTLCommandQueues where the first will handle high-priority render tasks and maintain stable 120FPS rendering and the other one will be continuously fed with non-real-time kernel tasks.

Can't find anything for this in the API. Is there anyway to achieve this?

Are you asking about whether there is a way to set a priority for a MTLCommandQueue?

Parallel Metal queue for non-real time tasks
 
 
Q