Gpu synchronized usage
I want to use face detector on the server, but got an issue related to memory of gpu. How can I make it synchronized so when I make a call, it waits until gpu has memory. Like it scheduled in cpu executions process.
I want to use face detector on the server, but got an issue related to memory of gpu. How can I make it synchronized so when I make a call, it waits until gpu has memory. Like it scheduled in cpu executions process.
You can just check the available memory before calling your command. Nvidia-smi command gives you that information with XML serialization.