Modify Software Stack for Exclusive Access


We hope to modify the behaviour of the GPUs so that each user can have guaranteed exclusive access. In other words, if someone else wants to run an application on the GPU while it is already taken by someone else, his/her application will be blocked. May I know the easiest way to achieve this goal?