Resource allocation using tensorrt

When I use tensorrt to accelerate the neural network, the acceleration is very good.But there are also some problems, it seems to take up all the gpu resources, causing my other programs that need to use gpu to become stuck.Can tensorrt allocate only some GPU resources, which can make other programs unaffected?