I am trying to do multitasking with a CPU and a GPU using two threads. One of the threads serves the GPU and the other does some miscellaneous CPU-tasks. The idea is that the scheduler would commence a context switch from the GPU-thread to the CPU-thread when the GPU is rendering or doing some other task that takes long and then switch back when the GPU is again free to use.
Is there a way to signal the scheduler when the GPU is free and when it is not?
Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.