I have a cuda kernel that runs on a large dataset that takes a significant amount of time. THe data is not needed immediately so I created a seperate OS-thread with a new Cuda Context to have the kernel execute in the background. This all works fine. However the display performance is a little slower than I would like. Is there a way I can control the amount of GPU resources a kernel uses so I can balance the screen fps with the background cuda computation?