I am developing a Virtual Environment for Data Analysis. One of the Machine Learning processes uses Numba- Pycuda to run computations on the GPU. This is on Anaconda. Simultaneously, a VR application needs to run. The VR application is built with C++ and OpenGL and runs in Visual Studio.
If I understand correctly, the GPU can handle one context at a time. So does that mean that the script and the VR application are competing for the GPU?
Is there a way to control this access?
I have a GTX 1070 and an intel integrated graphics. Is it possible to control the sharing of the hardware resources?
I am trying to get the best performance out of the ML and VR operations. So, please suggest a good way to do this.