Manually assign video memory maps to different CNNs

I want to implement NVIDIA GPU static distributed computation instead of RUNTIME mode. Can I use CUDA Driver API Context? Can a GPU support multiple contexts? If you can manually allocate video memory, how to calculate?